1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/.travis.yml
2020-02-20 08:30:39 +01:00

19 lines
577 B
YAML

sudo: false
language: node_js
node_js:
- "6"
env:
- DATABASE_URL=postgres://postgres@localhost:5432/unleash_test TEST_DATABASE_URL=postgres://postgres@localhost:5432/unleash_test
before_script:
- psql -c 'create database unleash_test;' -U postgres
script:
- npm install
- npm run test:coverage
after_success:
- npm run test:coverage-report
notifications:
slack:
secure: MroremSKwtQkwPbrXjgs9hIqKTCDKk7bAIXXzjcS6wXC9uRaFgwFaW8oO3vBxtWa4BL44EQBLE/rboWgqFER62+XgXNgEqGZqrcJHJvby4r+dUNMPI64OZvWdIiydIYxLo8C1C4x5PqBup0xuLq8h/SBnNvA2NLgkjuvzOi+v/Q=
addons:
postgresql: "9.4"