Skip to content

Commit aa054f2

Browse files
committedApr 24, 2020
⚙️ ci: Upgrade travis config.
1 parent c2fea11 commit aa054f2

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed
 

‎.travis.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
env:
2-
- CXX=g++-4.8
3-
4-
addons:
5-
apt:
6-
sources:
7-
- ubuntu-toolchain-r-test
8-
packages:
9-
- g++-4.8
10-
111
language: node_js
122

133
node_js:
@@ -16,10 +6,17 @@ node_js:
166
install:
177
- npm install
188

9+
before_script:
10+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11+
- chmod +x ./cc-test-reporter
12+
- ./cc-test-reporter before-build
13+
1914
script:
2015
- npm run cover
2116

17+
after_script:
18+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
19+
2220
after_success:
23-
- bash <(curl -s https://codecov.io/bash) || true
21+
- bash <(curl -s https://codecov.io/bash) || true
2422
- coveralls < coverage/lcov.info || true
25-
- codeclimate-test-reporter < coverage/lcov.info || true

0 commit comments

Comments
 (0)
Please sign in to comment.