Fix TravisCI script

This commit is contained in:
Rico Sta. Cruz 2020-06-14 23:42:37 +10:00
parent ee1bbb06a3
commit 02bbc11dae
1 changed files with 20 additions and 5 deletions

View File

@ -1,10 +1,25 @@
language: ruby language: ruby
rvm: rvm: [2.7.1]
- 2.5
before_install:
- nvm install 12
- nvm use 12
- node --version
- ruby --version
install:
- yarn --frozen-lockfile
- bundle --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
script: script:
- make -B _site - yarn build
- if ! make test; then make test-warning; exit 16; fi - yarn test
cache: bundler - if ! make test; then make test-warning; exit 16; fi
cache:
bundler: true
yarn: true
notifications: notifications:
slack: slack:
if: branch = master OR branch =~ ^.*slack.*$ if: branch = master OR branch =~ ^.*slack.*$