Fix travis.yml

This commit is contained in:
Silvio Leite
2018-11-16 16:12:22 -02:00
parent fc56890d83
commit 7c0df3201e

View File

@@ -1,16 +1,18 @@
language: python
dist: trusty
sudo: required
group: edge
python:
- "3.6"
env:
- DJANGO_VERSION=2.0
global:
- CC_TEST_REPORTER_ID=6c015c866a94cfb5b7a046e9a0725a6a02224b1023eeef9ea2db63426beb3fd3
install:
- pip install Django==$DJANGO_VERSION
- pip install tox-travis
- pip install -q -r requirements-dev.txt
- 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
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build