diff options
author | 2018-04-29 20:03:50 +0200 | |
---|---|---|
committer | 2018-04-29 20:03:50 +0200 | |
commit | f57942f2575dc26c9487688ded773a0abdab5c61 (patch) | |
tree | d39039c85b361c199c7dd77e4d02fb1a14082054 /.travis.yml | |
parent | [Wiki] Dumb CSS typo (diff) |
pipenv and dockerfile (#62)
pipenv and dockerfile
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 21e52051..4e2516be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,16 +9,26 @@ branches: only: - "master" +sudo: required + +services: + - docker + +env: + global: + - PIPENV_VENV_IN_PROJECT=1 + - PIPENV_IGNORE_VIRTUALENVS=1 + install: - - pip install -r requirements.txt - - pip install -r requirements-ci.txt + - pip install pipenv + - pipenv sync --dev --three script: - - flake8 + - pipenv run lint - python gunicorn_config.py - - py.test app_test.py --cov pysite --cov-report term-missing -v - - coveralls + - pipenv run test + - pipenv run coveralls after_success: - - python deploy.py + - bash scripts/deploy.sh cache: pip |