forked from vmesel/PyJobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 846 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: python
python:
- 3.6
env:
global:
- SECRET_KEY=here-comes-a-secret-key
- PIPENV_IGNORE_VIRTUALENVS=1
- CC_TEST_REPORTER_ID=d00a646dd653557dee1029960b0157368f641db4802f51c8df64ae4f6397f933
install:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- pip install -U pip
- pip install -U pipenv
- pipenv install --dev --system --deploy
before_script:
- python manage.py migrate
- python manage.py collectstatic --no-input
script:
- make test
after_script:
- coverage xml
- ./cc-test-reporter after-build --coverage-input-type coverage.py --exit-code $TRAVIS_TEST_RESULT
addons:
code_climate:
repo_token: d00a646dd653557dee1029960b0157368f641db4802f51c8df64ae4f6397f933