1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 10:17:58 +01:00
tldr/.travis.yml
Agniva De Sarker f73955fd06 Using tldr bot on a separate server
- Sending the PR id and message as a POST request.
- The bot running on a separate server receives the message and posts
the comment on the PR.
2017-05-09 17:24:31 +05:30

18 lines
375 B
YAML

sudo: false
language: node_js
node_js:
- 'stable'
cache: false
after_success:
- bash scripts/build.sh
after_failure:
- cat test_result | python scripts/send_to_bot.py
env:
global:
- secure: ewQMcFd3wH8IHOeGhIkBr2kAgadONmesv2KB+9bPRCZ5gvtFFwlkCMdPnQBR9Kd3GKC8r+EO0JNNFWOvrDjPYhEHi9Ab26Q/qodwfwne9YloKXT+C48Zrbrj8q7kb/FeMYPev+RMuM96j5E5QyqBVohGP7hC2bpU3mvAhQ2wBCE=