forked from prescottprue/redux-firestore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (41 loc) · 754 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
sudo: false
language: node_js
node_js:
- 8 # Maintenance
- 10 # Active
- 12 # Current release
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
script:
- npm run lint
- npm run test:cov
after_success:
- codeclimate-test-reporter < coverage/lcov.info
- npm run codecov
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'