]> git.immae.eu Git - github/fretlink/time-picker.git/blame_incremental - .travis.yml
Add blur() and autoFocus
[github/fretlink/time-picker.git] / .travis.yml
... / ...
CommitLineData
1language: node_js
2
3sudo: false
4
5notifications:
6 email:
7 - yiminghe@gmail.com
8
9node_js:
10- 6
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
19 npm install npm@3.x -g
20 phantomjs --version
21script:
22- |
23 if [ "$TEST_TYPE" = test ]; then
24 npm test
25 else
26 npm run $TEST_TYPE
27 fi
28env:
29 matrix:
30 - TEST_TYPE=lint
31 - TEST_TYPE=test
32 - TEST_TYPE=coverage