From 095d3ee32d1b60483995742235742f9ad128fa4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Sodre=CC=81?= Date: Sat, 29 Apr 2017 21:40:13 -0400 Subject: [PATCH] Replicate #41 in Travis build - Install full package during build time, i.e. not in dev mode. - Call slugify before code coverage. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d852b0a..bede162 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ python: install: - pip install pip -U - pip install -q -r requirements.txt - - pip install -e . + - pip install . - pip install pep8 - pip install coveralls - pip install https://github.com/un33k/pyflakes/tarball/master @@ -22,7 +22,9 @@ before_script: - "bash pep8.sh" - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi -script: coverage run --source=slugify test.py +script: + - slugify --help + - coverage run --source=slugify test.py after_success: coveralls