Skip to content

Commit bdc3cd3

Browse files
⚙️ ci: Upgrade travis config.
1 parent 2425c3f commit bdc3cd3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@ node_js:
66
install:
77
- npm install
88

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+
914
script:
1015
- npm run cover
1116

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

0 commit comments

Comments
 (0)