]> git.immae.eu Git - github/fretlink/time-picker.git/blame - .travis.yml
fix narrow className
[github/fretlink/time-picker.git] / .travis.yml
CommitLineData
3c176a6f 1language: node_js
2
4984ed85 3sudo: false
4
3c176a6f 5notifications:
6 email:
7 - yiminghe@gmail.com
8
9node_js:
8c2e96b8 10- 6
3c176a6f 11
12before_install:
13- |
14 if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/'
15 then
16 echo "Only docs were updated, stopping build process."
17 exit
18 fi
4984ed85 19 npm install npm@3.x -g
3c176a6f 20 phantomjs --version
3c176a6f 21script:
22- |
23 if [ "$TEST_TYPE" = test ]; then
24 npm test
25 else
26 npm run $TEST_TYPE
27 fi
3c176a6f 28env:
29 matrix:
30 - TEST_TYPE=lint
4984ed85 31 - TEST_TYPE=test
32 - TEST_TYPE=coverage