awesome-selfhosted/.travis.yml

23 lines
609 B
YAML
Raw Normal View History

2016-12-10 14:46:24 +01:00
language: node_js
node_js:
- "node"
cache:
npm: false
2016-12-10 14:46:24 +01:00
before_install:
- rvm install 2.6.2
2016-12-10 14:46:24 +01:00
- gem install awesome_bot
- sudo apt update && sudo apt install python3-pip python3-setuptools
- cd tests && npm install chalk && cd ..
2016-12-10 15:00:55 +01:00
script:
- 'echo "DEBUG: $TRAVIS_BRANCH - $TRAVIS_EVENT_TYPE - $TRAVIS_PULL_REQUEST"'
- 'if [ "$TRAVIS_BRANCH" == "master" ]; then make check_syntax_full; fi'
- 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make check_pr; fi'
2016-12-17 01:32:06 +01:00
notifications:
email: false