1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 02:01:13 +00:00

#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

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

View File

@ -9,6 +9,7 @@ import pexpect
import pytest
root = str(Path(__file__).parent.parent.parent.resolve())
docker = os.environ.get('DOCKER', 'docker').split(' ')
def build_container(tag, dockerfile):