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:
|
2018-11-22 11:20:28 +01:00
|
|
|
- '10'
|
2016-06-18 09:19:57 +02:00
|
|
|
env:
|
2018-11-22 11:20:28 +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:
|
2018-11-22 11:20:28 +01:00
|
|
|
- psql -c 'create database unleash_test;' -U postgres
|
|
|
|
- greenkeeper-lockfile-update
|
2017-11-11 08:53:40 +01:00
|
|
|
script: yarn run test:coverage
|
|
|
|
after_script: greenkeeper-lockfile-upload
|
2018-11-22 11:20:28 +01:00
|
|
|
after_success:
|
|
|
|
- yarn run test:coverage-report
|
2014-09-30 19:43:15 +02:00
|
|
|
notifications:
|
2018-11-22 11:20:28 +01:00
|
|
|
slack:
|
|
|
|
secure: MroremSKwtQkwPbrXjgs9hIqKTCDKk7bAIXXzjcS6wXC9uRaFgwFaW8oO3vBxtWa4BL44EQBLE/rboWgqFER62+XgXNgEqGZqrcJHJvby4r+dUNMPI64OZvWdIiydIYxLo8C1C4x5PqBup0xuLq8h/SBnNvA2NLgkjuvzOi+v/Q=
|
2014-12-05 17:20:17 +01:00
|
|
|
addons:
|
2019-10-02 21:49:52 +02:00
|
|
|
postgresql: '10'
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- postgresql-10
|
|
|
|
- postgresql-client-10
|
2017-11-02 09:56:44 +01:00
|
|
|
cache:
|
2018-11-22 11:20:28 +01:00
|
|
|
yarn: true
|
2018-11-20 20:34:42 +01:00
|
|
|
deploy:
|
2018-11-22 11:20:28 +01:00
|
|
|
# deploy doc on master to production
|
|
|
|
- provider: script
|
|
|
|
script: bash scripts/deploy-docs.sh
|
|
|
|
on:
|
|
|
|
branch: master
|