Skip to content

Commit

Permalink
drop Python 3.4 support from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Jun 10, 2019
1 parent 0d6bf1d commit 404c8bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .semaphore/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ for py in /opt/python/*/bin; do
# to delete the Poetry virtualenv to avoid skipping a build due to
# Poetry using the wrong virtualenv.
rm -rf $HOME/.cache/pypoetry/virtualenvs/hyperscan-py2.7
elif [[ "$py" == *"cp34"* ]]; then
continue
fi
"${py}/pip" install -UI poetry setuptools
"${py}/pip" wheel \
Expand Down
4 changes: 1 addition & 3 deletions .semaphore/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ set -e -x

for whl in wheelhouse/hyperscan-*.whl; do
python_version=$(expr "$whl" : '.*cp\(.*mu\?\)-')
if [[ $python_version == "27m" ]]; then
if [[ $python_version == "27m" ]] || [[ $python_version == "34m" ]]; then
continue
elif [[ $python_version == "27mu" ]]; then
image='python:2.7'
elif [[ $python_version == "34m" ]]; then
image='python:3.4'
elif [[ $python_version == "35m" ]]; then
image='python:3.5'
elif [[ $python_version == "36m" ]]; then
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37
envlist = py27,py35,py36,py37
skipsdist = true

[testenv]
Expand All @@ -12,7 +12,6 @@ deps =
-r tests/requirements.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
Expand All @@ -32,7 +31,6 @@ basepython = python
; [travis]
; python =
; 2.7: py27
; 3.4: py34
; 3.5: py35
; 3.6: py36, docs
; 3.7: py37

0 comments on commit 404c8bc

Please sign in to comment.