forked from prescottprue/react-redux-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 855 Bytes
/
.travis.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: false
language: node_js
node_js:
- 6 # Maintenance
- 8 # Active
- 10
notifications:
email:
# Only send notifications when travis status changes
on_failure: change
on_success: change
cache:
bundler: true
directories:
- $HOME/.npm
branches:
only:
- master
- next
install:
- npm i
script:
- npm run lint
- npm run test:cov
addons:
code_climate:
repo_token: $CODE_CLIMATE
deploy:
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
node: '10'
branch: 'master'
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
tag: next
on:
node: '10'
branch: 'next'
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
- npm run codecov