42 lines
581 B
YAML
42 lines
581 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:
|
|
- grunt
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.hackint.org#freifunkR"
|
|
- "irc.hackint.org#meshviewer"
|
|
nick: ci
|
|
use_notice: true
|