Skip to content

Commit 3371e0e

Browse files
author
Gauvain Pocentek
committed
rework travis and tox setup
1 parent cb30dd1 commit 3371e0e

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.travis.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
sudo: required
22
services:
33
- docker
4-
4+
addons:
5+
apt:
6+
sources:
7+
- deadsnakes
8+
packages:
9+
- python3.5
510
language: python
611
python: 2.7
712
env:
13+
- TOX_ENV=py35
814
- TOX_ENV=py34
915
- TOX_ENV=py27
1016
- TOX_ENV=pep8
1117
- TOX_ENV=docs
12-
- TOX_ENV=noop_py
13-
- TOX_ENV=noop_cli
18+
- TOX_ENV=py_func
19+
- TOX_ENV=cli_func
1420
install:
1521
- pip install tox
1622
script:
1723
- tox -e $TOX_ENV
18-
after_success:
19-
if [ "$TOX_ENV" = "noop_py" ]; then ./tools/py_functional_tests.sh; elif [ "$TOX_ENV" = "noop_cli" ]; then ./tools/functional_tests.sh; fi

tox.ini

+4-8
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ commands = python setup.py build_sphinx
3232
commands =
3333
python setup.py testr --slowest --coverage --testr-args="{posargs}"
3434

35-
[testenv:noop_cli]
36-
usedevelop = True
37-
install_command = true {opts} {packages}
38-
commands = true
35+
[testenv:cli_func]
36+
commands = {toxinidir}/tools/functional_tests.sh
3937

40-
[testenv:noop_py]
41-
usedevelop = True
42-
install_command = true {opts} {packages}
43-
commands = true
38+
[testenv:py_func]
39+
commands = {toxinidir}/tools/py_functional_tests.sh

0 commit comments

Comments
 (0)