.travis.yml
language: python
python:
- "3.6"
sudo: required
services:
- docker
before_install:
- pip install pipenv
install:
- pipenv install --dev
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
script:
- pipenv run lint
- pipenv run test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT