File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ language: python
2
2
sudo : required
3
3
env :
4
4
- CODECOV_TOKEN : " da32b183-0d8b-4dc2-9bf9-e1743a39b2c8"
5
+ - CC_TEST_REPORTER_ID : " f65f25793658d7b33a3729b7b0303fef71fca3210105bb5b83605afb2fee687e"
5
6
services :
6
7
- docker
7
8
python :
@@ -14,8 +15,13 @@ install:
14
15
- pip install .
15
16
- pip install -r requirements-test.txt
16
17
- docker exec -it wpapipython_woocommerce_1 bash -c 'until [ -f .done ]; do sleep 1; done; echo "complete"'
18
+ before_script :
19
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
20
+ - chmod +x ./cc-test-reporter
21
+ - ./cc-test-reporter before-build
17
22
# command to run tests
18
23
script :
19
24
- py.test --cov=wordpress tests.py
20
25
after_success :
21
26
- codecov
27
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT --debug
You can’t perform that action at this time.
0 commit comments