Skip to content

Commit f3451d3

Browse files
authored
Merge pull request #15 from jedymatt/jedymatt-patch-1
Jedymatt patch 1
2 parents 956fec6 + 21d684f commit f3451d3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ python:
88
# - linux
99
# - osx
1010
# - windows
11+
env:
12+
global:
13+
- CC_TEST_REPORTER_ID=48ee9103b2354a6b5c3028f4bc09a0705b79f27d013328a4234107ed385c16ec
1114
before_install:
1215
- pip3 install --upgrade pip
1316

@@ -16,12 +19,16 @@ install:
1619
- pip install .
1720
- pip install pytest
1821
- pip install codecov
19-
# before_script:
20-
# - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
21-
# - chmod +x ./cc-test-reporter
22+
before_script:
23+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
24+
- chmod +x ./cc-test-reporter
25+
- ./cc-test-reporter before-build
2226
script:
2327
# - pytest tests
2428
- coverage run --source=sqlalchemyseed -m pytest tests
29+
after_script:
30+
- coverage xml
31+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
2532
after_success:
2633
# - bash <(curl -s https://codecov.io/bash)
2734
- codecov

0 commit comments

Comments
 (0)