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