aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-04-29 20:03:50 +0200
committerGravatar GitHub <[email protected]>2018-04-29 20:03:50 +0200
commitf57942f2575dc26c9487688ded773a0abdab5c61 (patch)
treed39039c85b361c199c7dd77e4d02fb1a14082054 /.travis.yml
parent[Wiki] Dumb CSS typo (diff)
pipenv and dockerfile (#62)
pipenv and dockerfile
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
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