pcottle.learnGitBranching/.travis.yml
2020-03-15 03:54:56 +07:00

16 lines
455 B
YAML

sudo: false
language: node_js
node_js:
- "10"
- "8"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
cache:
yarn: true
directories:
- "node_modules"
script:
- ./checkgit.sh "Source files were modified before build; is yarn.lock out of sync with package.json?" || travis_terminate $?
- yarn gulp
- ./checkgit.sh "Source files were modified by the build" || travis_terminate $?