Skip to content
Snippets Groups Projects
Commit 5d13c631 authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Alpine was a pain. Switch to Debian.

parent 298b49fc
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
before_script: before_script:
- test -f /usr/local/bin/pypy && ln -s pypy /usr/local/bin/python - test -f /usr/local/bin/pypy && ln -s pypy /usr/local/bin/python
- test -f /usr/local/bin/pypy3 && ln -s pypy3 /usr/local/bin/python - test -f /usr/local/bin/pypy3 && ln -s pypy3 /usr/local/bin/python
- pip install pytest-cov
test:2.7: test:2.7:
image: python:2.7-alpine image: python:2.7
type: test type: test
script: script:
- apk update && apk add git
- pip install pytest-cov
- pip install pep8 - pip install pep8
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
...@@ -16,41 +15,33 @@ test:2.7: ...@@ -16,41 +15,33 @@ test:2.7:
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
test:3.3: test:3.3:
image: python:3.3-alpine image: python:3.3
type: test type: test
script: script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
test:3.4: test:3.4:
image: python:3.4-alpine image: python:3.4
type: test type: test
script: script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
test:3.5: test:3.5:
image: python:3.5-alpine image: python:3.5
type: test type: test
script: script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
test:3.6: test:3.6:
image: python:3.6-alpine image: python:3.6
type: test type: test
script: script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
...@@ -59,7 +50,6 @@ test:pypy-2: ...@@ -59,7 +50,6 @@ test:pypy-2:
image: pypy:2 image: pypy:2
type: test type: test
script: script:
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
# - py.test --cov=zone2gandi tests # - py.test --cov=zone2gandi tests
...@@ -69,6 +59,5 @@ test:pypy-3: ...@@ -69,6 +59,5 @@ test:pypy-3:
image: pypy:3 image: pypy:3
type: test type: test
script: script:
- pip install pytest-cov
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment