.travis.yml 582 Bytes

language: node_js

node_js:
  - "4"
  - "6"

sudo: false

cache:
  directories:
    - node_modules

addons:
  postgresql: "9.4"

before_script:
  - "npm install -g mysql"
  - "npm install -g sqlite3"
  - "npm install -g pg pg-hstore"
  - "mysql -e 'create database sequelize_auto_test;'"
  - "psql -c 'create database sequelize_auto_test;' -U postgres"

script:
  - "npm run test"

branches:
  only:
    - master
    - /^greenkeeper/.*$/

notifications:
  email:
    - me@danieldurante.com

env:
  - DB=mysql DIALECT=mysql
  - DB=mysql DIALECT=postgres
  - DB=mysql DIALECT=sqlite