Skip to content

Commit

Permalink
Testing py37
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Nov 3, 2019
1 parent a40bc12 commit 64c29d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
python: "3.6"
install:
- pip install tox
- env: TOXENV=py27-flake8
python: "2.7"
- env: TOXENV=py37-flake8
python: "3.7"
install:
- pip install tox
- env: TOXENV=py36-flake8
python: "3.6"
install:
- pip install tox
- env: TOXENV=py27
python: "2.7"
- env: TOXENV=py37
python: "3.7"
install:
- pip install tox
- docker pull pierky/bird:1.6.7
Expand All @@ -36,8 +36,8 @@ jobs:
- pip install tox
- docker pull pierky/bird:1.6.7
- docker pull pierky/openbgpd:6.5p1
- env: TOXENV=py27-coverage
python: "2.7"
- env: TOXENV=py37-coverage
python: "3.7"
install:
- pip install tox
- pip install coveralls
Expand All @@ -52,8 +52,8 @@ jobs:
- pip install tox
before_script:
- ./tests/external_resources/install_bgpq3.sh
- env: TOXENV=py27-extres
python: "2.7"
- env: TOXENV=py37-extres
python: "3.7"
install:
- pip install tox
before_script:
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py36-syntax, py27-flake8, py36-flake8, py27, py36, py27-coverage, py36-extres, py27-extres
envlist=py36-syntax, py37-flake8, py36-flake8, py37, py36, py37-coverage, py36-extres, py37-extres

[testenv]
commands=nosetests -vs -x --tests=tests/static/,tests/live_tests/
Expand All @@ -11,8 +11,8 @@ basepython=python3.6
commands=nosetests -vs --tests=tests/external_resources/
deps=nose

[testenv:py27-extres]
basepython=python2.7
[testenv:py37-extres]
basepython=python3.7
commands=nosetests -vs --tests=tests/external_resources/
deps=nose

Expand All @@ -22,8 +22,8 @@ whitelist_externals=bash
commands=bash -c "find pierky/ scripts/ tests/ -name "*.py" | xargs python -m py_compile"
deps=

[testenv:py27-flake8]
basepython=python2.7
[testenv:py37-flake8]
basepython=python3.7
deps=flake8
commands=flake8 pierky/ scripts/

Expand All @@ -32,8 +32,8 @@ basepython=python3.6
deps=flake8
commands=flake8 pierky/ scripts/

[testenv:py27-coverage]
basepython=python2.7
[testenv:py37-coverage]
basepython=python3.7
setenv=BUILD_ONLY=1
commands=
coverage run --source=pierky --omit="pierky/arouteserver/tests/*" --branch setup.py nosetests --stop --verbosity=2 --tests=tests/static/,tests/live_tests/
Expand Down

0 comments on commit 64c29d1

Please sign in to comment.