mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-20 21:35:42 +02:00
16 lines
455 B
YAML
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 $?
|