Tyleo-Host-AwesomeSelfHosted/.travis.yml
2019-03-30 13:38:59 +01:00

21 lines
465 B
YAML

language: node_js
node_js:
- "node"
before_install:
- rvm install 2.2
- gem install awesome_bot
- gem install danger
before_script:
script:
- git diff master.. --unified=0 README.md | grep --perl-regexp --only-matching --silent "(?<=^\+).*" >> temp.md || (exit 0)
- node test.js temp.md
- awesome_bot temp.md --allow-redirect || (exit 0)
- awesome_bot README.md --allow-redirect || (exit 0)
- danger --verbose
notifications:
email: false