Skip to content

Commit bf049be

Browse files
authored
Update .travis.yml
1 parent f1abb26 commit bf049be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ install:
1616
- pip install .
1717
- pip install pytest
1818
- 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
1922
script:
2023
- pytest
2124
- coverage run --source=sqlalchemyseed -m pytest tests
2225
after_success:
2326
# - bash <(curl -s https://codecov.io/bash)
2427
- codecov
28+
# for codecoverage on codeclimate.com
29+
env:
30+
global:
31+
# - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
32+
- CC_TEST_REPORTER_ID=48ee9103b2354a6b5c3028f4bc09a0705b79f27d013328a4234107ed385c16ec

0 commit comments

Comments
 (0)