2014-10-31 16:36:42 +01:00
|
|
|
language: node_js
|
2014-11-10 16:34:20 +01:00
|
|
|
node_js:
|
2014-10-31 16:36:42 +01:00
|
|
|
- "0.10"
|
2014-12-12 14:11:09 +01:00
|
|
|
env: TEST_DATABASE_URL=postgres://postgres@localhost:5432/unleash_test
|
2014-11-12 15:15:23 +01:00
|
|
|
before_script:
|
|
|
|
- echo '--timeout 10000' > test/mocha.opts
|
2014-12-05 17:20:17 +01:00
|
|
|
- psql -c 'create database unleash_test;' -U postgres
|
2014-12-12 16:17:53 +01:00
|
|
|
- 'DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up'
|
2014-10-21 08:42:36 +02:00
|
|
|
script:
|
2014-11-10 16:34:20 +01:00
|
|
|
- npm install
|
|
|
|
- npm test
|
|
|
|
- npm run coverage-report || true
|
2014-09-30 19:43:15 +02:00
|
|
|
notifications:
|
|
|
|
hipchat:
|
|
|
|
rooms:
|
|
|
|
secure: GiIDk52xccnUKnevjLE+w6eUXg0jfV7oOmagw5VnOV5jXGUxdzMk/Q9um+oSClEPE51IvF76zoFEKPIX/CNdjgalEr+CZADy1gene/YRGrNgrXmYYmiU1/dNzelpla1WpKPrY2pkbOgKxrCR9ScID+pMs6vzvJnPwK9vu66W61U=
|
2014-12-05 17:20:17 +01:00
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|