forked from krux/postscribe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (35 loc) · 726 Bytes
/
.travis.yml
File metadata and controls
43 lines (35 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: false
language: node_js
node_js:
- 5
cache:
directories:
- node_modules
before_script:
- npm prune
script:
- |
npm run lint
npm run build
npm run test:ci
if [ "${TRAVIS_PULL_REQUEST}" == "true" ]; then
npm run test:cross-browser
fi
after_success:
- |
npm run semantic-release
if [ "${TRAVIS_PULL_REQUEST}" != "true" ]; then
npm install codeclimate-test-reporter
./node_modules/.bin/codeclimate-test-reporter < build/test-reports/coverage/*/lcov.info
fi
branches:
except:
- /^v\d+\.\d+\.\d+$/
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/c5ef8c460e0c28b4817e
on_success: change
on_failure: always
on_start: never