Skip to content
Snippets Groups Projects
Commit f82f9623 authored by Gauvain Pocentek's avatar Gauvain Pocentek
Browse files

Run more tests in travis

Travis has some limitations so this patch sets up some tricks to run the
functional tests.
parent fa75571a
No related branches found
No related tags found
No related merge requests found
sudo: required
services:
- docker
language: python
python: 2.7
env:
- TOX_ENV=py34
- TOX_ENV=py27
- TOX_ENV=pep8
- TOX_ENV=docs
- TOX_ENV=noop_py
- TOX_ENV=noop_cli
install:
- pip install tox
script:
- tox -e $TOX_ENV
after_success:
if [ "$TOX_ENV" = "noop_py" ]; then ./tools/py_functional_tests.sh; elif [ "$TOX_ENV" = "noop_cli" ]; then ./tools/functional_tests.sh; fi
......@@ -5,6 +5,7 @@ envlist = py35,py34,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
whitelist_externals = true
usedevelop = True
install_command = pip install {opts} {packages}
......@@ -30,3 +31,13 @@ commands = python setup.py build_sphinx
[testenv:cover]
commands =
python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:noop_cli]
usedevelop = True
install_command = true {opts} {packages}
commands = true
[testenv:noop_py]
usedevelop = True
install_command = true {opts} {packages}
commands = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment