2015-12-04 23:52:40 +01:00
|
|
|
sudo: false
|
2016-01-19 20:44:37 +01:00
|
|
|
language: node_js
|
2015-12-05 00:33:14 +01:00
|
|
|
|
2019-02-04 14:59:17 +01:00
|
|
|
node_js: stable
|
2016-10-02 21:40:11 +02:00
|
|
|
cache: false
|
2015-12-05 00:33:14 +01:00
|
|
|
|
2019-07-10 18:38:59 +02:00
|
|
|
git:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
script:
|
|
|
|
- npm test
|
|
|
|
- bash scripts/build.sh
|
|
|
|
|
2017-04-27 10:02:32 +02:00
|
|
|
after_failure:
|
2019-02-04 14:59:17 +01:00
|
|
|
- python scripts/send_to_bot.py < test_result
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash scripts/deploy.sh
|
2019-02-04 15:26:59 +01:00
|
|
|
skip_cleanup: true
|
2019-02-04 14:59:17 +01:00
|
|
|
on:
|
2019-02-04 15:26:59 +01:00
|
|
|
repo: tldr-pages/tldr
|
2019-02-04 14:59:17 +01:00
|
|
|
branch: master
|