forked from prescottprue/react-redux-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (36 loc) · 694 Bytes
/
.travis.yml
File metadata and controls
45 lines (36 loc) · 694 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
44
45
sudo: false
language: node_js
node_js:
- 6.11.5 # Cloud Functions Runtime (Used for firebase-functions)
- 8
- 9
notifications:
# Only send notifications when travis status changes
email:
on_failure: change
on_success: change
addons:
code_climate:
repo_token: $CODE_CLIMATE
cache:
directories:
- node_modules
branches:
only:
- master
- next
script:
- npm run lint
- npm run test:cov
deploy:
skip_cleanup: true
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
node: '9'
branch: 'master'
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
- npm run codecov