node-query/.travis.yml

21 lines
420 B
YAML

language: node_js
sudo: false
node_js:
- "iojs"
- "node"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
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