34 lines
440 B
YAML
34 lines
440 B
YAML
sudo: false
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- "7"
|
|
|
|
os:
|
|
- linux
|
|
- macosx
|
|
- windows
|
|
|
|
matrix:
|
|
include:
|
|
- node_js: 7
|
|
os: linux
|
|
env: USE_NPM=true
|
|
- node_js: 6
|
|
os: linux
|
|
- node_js: 4
|
|
os: linux
|
|
|
|
cache:
|
|
yarn: true
|
|
|
|
before_install:
|
|
- if [ "$USE_NPM" == "true" ]; then rm yarn.lock; fi
|
|
|
|
before_script:
|
|
- if git status | grep -q "modified. \.travis\.yml"; then echo "Dirty yarn.lock"; exit 1; fi
|
|
|
|
script:
|
|
- gulp
|