update travis yml

This commit is contained in:
xn0px90 2022-04-05 01:14:53 -07:00 committed by GitHub
parent 58751c471b
commit 0a19daf13a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,20 @@
language: ruby
rvm:
- 2.5.3
before_script:
language: node_js
node_js:
- "node"
cache:
npm: false
before_install:
- rvm install 2.6.2
- gem install awesome_bot
- sudo apt update && sudo apt install python3-pip python3-setuptools
- cd tests && npm install chalk && cd ..
script:
- awesome_bot README.md --allow-dupe --allow-redirect
- 'if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check_all; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make check_pr; fi'
notifications:
email: xn0px90@gmail.com