Skip to content

Commit

Permalink
Testing py36
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Nov 3, 2019
1 parent 763ebcf commit a40bc12
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:

# All the "standard" tests, run on push/PR.
- stage: test
env: TOXENV=py34-syntax
python: "3.4"
env: TOXENV=py36-syntax
python: "3.6"
install:
- pip install tox
- env: TOXENV=py27-flake8
python: "2.7"
install:
- pip install tox
- env: TOXENV=py34-flake8
python: "3.4"
- env: TOXENV=py36-flake8
python: "3.6"
install:
- pip install tox
- env: TOXENV=py27
Expand All @@ -30,8 +30,8 @@ jobs:
- pip install tox
- docker pull pierky/bird:1.6.7
- docker pull pierky/openbgpd:6.5p1
- env: TOXENV=py34
python: "3.4"
- env: TOXENV=py36
python: "3.6"
install:
- pip install tox
- docker pull pierky/bird:1.6.7
Expand All @@ -46,8 +46,8 @@ jobs:

# External resources tests, run on push/PR and via cron job.
- stage: test external resources
env: TOXENV=py34-extres
python: "3.4"
env: TOXENV=py36-extres
python: "3.6"
install:
- pip install tox
before_script:
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"pierky/arouteserver/tests/live_tests/skeleton/*.j2"]
},
include_package_data=True,

license="GPLv3",
description="A Python tool to automatically build (and test) configurations for BGP route servers.",
long_description=long_description,
Expand Down Expand Up @@ -123,6 +123,7 @@
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.6",

"Topic :: Internet :: WWW/HTTP",
"Topic :: System :: Networking",
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist=py34-syntax, py27-flake8, py34-flake8, py27, py34, py27-coverage, py34-extres, py27-extres
envlist=py36-syntax, py27-flake8, py36-flake8, py27, py36, py27-coverage, py36-extres, py27-extres

[testenv]
commands=nosetests -vs -x --tests=tests/static/,tests/live_tests/
deps=nose
passenv=TRAVIS BUILD_ONLY

[testenv:py34-extres]
basepython=python3.4
[testenv:py36-extres]
basepython=python3.6
commands=nosetests -vs --tests=tests/external_resources/
deps=nose

Expand All @@ -16,8 +16,8 @@ basepython=python2.7
commands=nosetests -vs --tests=tests/external_resources/
deps=nose

[testenv:py34-syntax]
basepython=python3.4
[testenv:py36-syntax]
basepython=python3.6
whitelist_externals=bash
commands=bash -c "find pierky/ scripts/ tests/ -name "*.py" | xargs python -m py_compile"
deps=
Expand All @@ -27,8 +27,8 @@ basepython=python2.7
deps=flake8
commands=flake8 pierky/ scripts/

[testenv:py34-flake8]
basepython=python3.4
[testenv:py36-flake8]
basepython=python3.6
deps=flake8
commands=flake8 pierky/ scripts/

Expand Down

0 comments on commit a40bc12

Please sign in to comment.