#N/A Run functional tests in travis-ci

This commit is contained in:
nvbn
2015-07-24 23:24:14 +03:00
parent 9ab4491b96
commit 9e79c4aea3
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -3,12 +3,18 @@ python:
- "3.4"
- "3.3"
- "2.7"
sudo: true
install:
- pip install coveralls
- pip install -r requirements.txt
- python setup.py develop
- rm -rf build
- curl -sLo - http://j.mp/install-travis-docker | sh -xe
env:
global:
- DOCKER="./run docker"
- FUNCTIONAL=true
script:
- export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1}
- coverage run --source=thefuck,tests -m py.test -v
- coverage run --source=thefuck,tests -m py.test -v --capture=sys
after_success: coveralls