2014-10-27 16:07:07 -04:00
|
|
|
language: node_js
|
2015-11-19 11:58:33 -05:00
|
|
|
sudo: false
|
2014-10-27 16:07:07 -04:00
|
|
|
|
|
|
|
node_js:
|
2015-11-19 11:46:58 -05:00
|
|
|
- "node"
|
2016-02-12 11:40:21 -05:00
|
|
|
- "5.6"
|
|
|
|
- "5.5"
|
|
|
|
- "5.4"
|
|
|
|
- "5.3"
|
|
|
|
- "5.2"
|
2015-12-03 20:43:42 -05:00
|
|
|
- "5.1"
|
|
|
|
- "5.0"
|
2016-02-12 11:40:21 -05:00
|
|
|
- "4.3"
|
|
|
|
- "4.2"
|
2015-11-19 12:13:55 -05:00
|
|
|
- "4.1"
|
|
|
|
- "4.0"
|
2014-10-27 16:07:07 -04:00
|
|
|
|
|
|
|
before_script:
|
2015-11-20 09:14:09 -05:00
|
|
|
- npm install -g gulp
|
2016-01-12 15:03:13 -05:00
|
|
|
- npm install -g codeclimate-test-reporter
|
2014-10-27 16:07:07 -04:00
|
|
|
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
|
|
|
|
- psql -c 'create database test;' -U postgres
|
|
|
|
- mysql -e 'create database IF NOT EXISTS test;'
|
2015-12-04 09:13:26 -05:00
|
|
|
- mysql -v -uroot test < ./test/sql/mysql.sql
|
|
|
|
- psql test postgres -f ./test/sql/pgsql.sql
|
2015-11-20 09:14:09 -05:00
|
|
|
|
2016-01-12 15:03:13 -05:00
|
|
|
script: gulp
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- CODECLIMATE_REPO_TOKEN=aa39789a53f6f8fd84747a98968c9f79795e890d55a533daa943b1042f81687f codeclimate-test-reporter < coverage/lcov.info
|