1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.travis.yml

35 lines
1.1 KiB
YAML
Raw Normal View History

2014-12-18 10:05:02 +01:00
sudo: false
2014-10-31 16:36:42 +01:00
language: node_js
node_js:
2020-04-13 22:42:31 +02:00
- '12'
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=
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=
addons:
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
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