node-query/.travis.yml

24 lines
454 B
YAML

language: node_js
sudo: false
node_js:
- "iojs"
- "node"
- "5.1"
- "5.0"
- "4.1"
- "4.0"
before_script:
- npm install -g gulp
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres
- mysql -e 'create database IF NOT EXISTS test;'
- mysql -v -uroot test < ./tests/sql/mysql.sql
- psql test postgres -f ./tests/sql/pgsql.sql
script: gulp
matrix:
allow_failures:
- node_js: iojs