2014-12-18 10:05:02 +01:00
|
|
|
sudo: false
|
2014-10-31 16:36:42 +01:00
|
|
|
language: node_js
|
2014-11-10 16:34:20 +01:00
|
|
|
node_js:
|
2017-11-11 08:51:24 +01:00
|
|
|
- '8'
|
2018-11-17 11:32:02 +01:00
|
|
|
- '10'
|
2016-06-18 09:19:57 +02:00
|
|
|
env:
|
2017-11-11 08:51:24 +01:00
|
|
|
matrix:
|
|
|
|
- DATABASE_URL=postgres://postgres@localhost:5432/unleash_test TEST_DATABASE_URL=postgres://postgres@localhost:5432/unleash_test
|
|
|
|
global:
|
|
|
|
secure: HyWYh1dbUfe2yPF9ZdcdA/IVGyNWmJmpuaRvRGnnpO63/5Y0KT6/hyL6nZ4YJ7Wr/KEt4eMJBJsnzaCFtiqNA3cWyyprzXJButw0o8C6dfd/9jOleisuvdqndu92RqDKIIq2EjHVq3sd6B8uGyiOlkMsyFH57O/V+xHW8MYLnaQ=
|
2017-12-18 09:20:33 +01:00
|
|
|
before_install: npm install -g greenkeeper-lockfile@1
|
2014-11-12 15:15:23 +01:00
|
|
|
before_script:
|
2014-12-05 17:20:17 +01:00
|
|
|
- psql -c 'create database unleash_test;' -U postgres
|
2017-11-11 08:53:40 +01:00
|
|
|
- greenkeeper-lockfile-update
|
|
|
|
script: yarn run test:coverage
|
|
|
|
after_script: greenkeeper-lockfile-upload
|
2018-11-20 20:34:42 +01:00
|
|
|
after_success:
|
|
|
|
- yarn run test:coverage-report
|
2014-09-30 19:43:15 +02:00
|
|
|
notifications:
|
2015-04-08 13:21:40 +02:00
|
|
|
slack:
|
|
|
|
secure: MroremSKwtQkwPbrXjgs9hIqKTCDKk7bAIXXzjcS6wXC9uRaFgwFaW8oO3vBxtWa4BL44EQBLE/rboWgqFER62+XgXNgEqGZqrcJHJvby4r+dUNMPI64OZvWdIiydIYxLo8C1C4x5PqBup0xuLq8h/SBnNvA2NLgkjuvzOi+v/Q=
|
2014-12-05 17:20:17 +01:00
|
|
|
addons:
|
2017-11-11 08:51:24 +01:00
|
|
|
postgresql: '9.4'
|
2017-11-02 09:56:44 +01:00
|
|
|
cache:
|
|
|
|
yarn: true
|
2018-11-20 20:34:42 +01:00
|
|
|
deploy:
|
|
|
|
# deploy doc on master to production
|
|
|
|
- provider: script
|
2018-11-21 17:39:03 +01:00
|
|
|
script: bash scripts/deploy-docs.sh
|
2018-11-20 20:34:42 +01:00
|
|
|
on:
|
|
|
|
branch: master
|