Skip to content

Commit

Permalink
drop support for python 2.7, add 3.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pipermerriam committed May 17, 2018
1 parent d5c35d4 commit f23621f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 45 deletions.
84 changes: 42 additions & 42 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,152 +14,152 @@ matrix:
- python: "3.5"
env: TOX_POSARGS="-e flake8"
# installation
- python: "2.7"
env: TOX_POSARGS="-e py27-installation"
- python: "3.4"
env: TOX_POSARGS="-e py34-installation"
- python: "3.5"
env: TOX_POSARGS="-e py35-installation"
- python: "3.6"
env: TOX_POSARGS="-e py36-installation"
# solc 0.4.1
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.1
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.1
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.1
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.1
# solc 0.4.2
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.2
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.2
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.2
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.2
# solc 0.4.6
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.6
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.6
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.6
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.6
# solc 0.4.7
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.7
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.7
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.7
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.7
# solc 0.4.8
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.8
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.8
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.8
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.8
# solc 0.4.9
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.9
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.9
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.9
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.9
# solc 0.4.11
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.11
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.11
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.11
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.11
# solc 0.4.12
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.12
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.12
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.12
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.12
# solc 0.4.13
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.13
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.13
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.13
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.13
# solc 0.4.14
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.14
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.14
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.14
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.14
# solc 0.4.15
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.15
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.15
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.15
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.15
# solc 0.4.16
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.16
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.16
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.16
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.16
# solc 0.4.17
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.17
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.17
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.17
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.17
# solc 0.4.18
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.18
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.18
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.18
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.18
# solc 0.4.19
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.19
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.19
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.19
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.19
# solc 0.4.20
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.20
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.20
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.20
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.20
# solc 0.4.21
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.21
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.21
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.21
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.21
# solc 0.4.22
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.22
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.22
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.22
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.22
# solc 0.4.23
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.23
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.23
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.23
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.23
# solc 0.4.24
- python: "2.7"
env: TOX_POSARGS="-e py27" SOLC_VERSION=v0.4.24
- python: "3.4"
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.24
- python: "3.5"
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.24
- python: "3.6"
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.24
cache:
- pip: true
before_install:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
include_package_data=True,
py_modules=['solc'],
setup_requires=['setuptools-markdown'],
python_requires='>=3.4, <4',
install_requires=[
"semantic_version>=2.6.0",
],
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist=
py{27,34,35}-{core,installation}
py{34,35,36}-{core,installation}
flake8

[flake8]
Expand All @@ -14,14 +14,15 @@ commands=
passenv =
SOLC_BINARY
TRAVIS_BUILD_DIR
SOLC_RUN_INSTALL_TESTS
setenv =
py{27,34,35}-installation: SOLC_RUN_INSTALL_TESTS=enabled
py{34,35,36}-installation: SOLC_RUN_INSTALL_TESTS=enabled
deps =
-r{toxinidir}/requirements-dev.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6

[testenv:flake8]
basepython=python
Expand Down

0 comments on commit f23621f

Please sign in to comment.