Mirror of Awesome Self Hosted
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
609 B

8 years ago
8 years ago
8 years ago
8 years ago
  1. language: node_js
  2. node_js:
  3. - "node"
  4. cache:
  5. npm: false
  6. before_install:
  7. - rvm install 2.6.2
  8. - gem install awesome_bot
  9. - sudo apt update && sudo apt install python3-pip python3-setuptools
  10. - cd tests && npm install chalk && cd ..
  11. script:
  12. - 'echo "DEBUG: $TRAVIS_BRANCH - $TRAVIS_EVENT_TYPE - $TRAVIS_PULL_REQUEST"'
  13. - 'if [ "$TRAVIS_BRANCH" == "master" ]; then make check_syntax_full; fi'
  14. - 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
  15. - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make check_pr; fi'
  16. notifications:
  17. email: false