Fix travis.yml
This commit is contained in:
@@ -1,16 +1,18 @@
|
|||||||
language: python
|
language: python
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
group: edge
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
env:
|
env:
|
||||||
- DJANGO_VERSION=2.0
|
- DJANGO_VERSION=2.0
|
||||||
global:
|
|
||||||
- CC_TEST_REPORTER_ID=6c015c866a94cfb5b7a046e9a0725a6a02224b1023eeef9ea2db63426beb3fd3
|
- CC_TEST_REPORTER_ID=6c015c866a94cfb5b7a046e9a0725a6a02224b1023eeef9ea2db63426beb3fd3
|
||||||
install:
|
install:
|
||||||
- pip install Django==$DJANGO_VERSION
|
- pip install Django==$DJANGO_VERSION
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- pip install -q -r requirements-dev.txt
|
- pip install -q -r requirements-dev.txt
|
||||||
- pip install coverage
|
- pip install coverage
|
||||||
before_script: # code coverage tool
|
before_script:
|
||||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
- chmod +x ./cc-test-reporter
|
- chmod +x ./cc-test-reporter
|
||||||
- ./cc-test-reporter before-build
|
- ./cc-test-reporter before-build
|
||||||
|
|||||||
Reference in New Issue
Block a user