Current File : //usr/lib/node_modules/pm2/node_modules/vxx/.travis.yml
sudo: false

language: node_js

node_js:
  - "4"
  - "6"
  - "7"

services:
  - mongodb
  - redis-server
  - postgresql

before_install:
  - mysql -e "create database IF NOT EXISTS test;" -uroot
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('Password12!') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
  - psql -c 'create database test;' -U postgres
  - psql -c "alter user postgres with password 'Password12!';" -U postgres

env:
  - GCLOUD_PROJECT=0 CXX=g++-4.8

script:
  - ./bin/run-test.sh -c

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8