forked from pubnub/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (38 loc) · 794 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
language: node_js
cache: npm
os: linux
env:
jobs:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
stages:
- name: "test"
if: |
type != pull_request
- name: "code coverage"
if: |
type == pull_request
jobs:
include:
- stage: "test"
name: 'NodeJS 8.10.0'
node_js: '8.10.0'
script: gulp test
- name: 'NodeJS 10.13.0'
node_js: '10.13.0'
script: gulp test
- name: 'NodeJS 12'
node_js: '12'
script: gulp test
- stage: "code coverage"
name: 'Test & Code coverage'
node_js: '12'
script: gulp test
after_success:
- npm install codecov codacy-coverage
- cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage