diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 830785d519f71f2fc5fbc60ebbd3d4e054977fc2..e0612eb03a90e0c623f1d959e9cb1b28ba08a522 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,13 +2,12 @@ before_script: - 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 + - pip install pytest-cov test:2.7: - image: python:2.7-alpine + image: python:2.7 type: test script: - - apk update && apk add git - - pip install pytest-cov - pip install pep8 - python setup.py install - python setup.py test @@ -16,41 +15,33 @@ test:2.7: # - py.test --cov=zone2gandi tests test:3.3: - image: python:3.3-alpine + image: python:3.3 type: test script: - - apk update && apk add git - - pip install pytest-cov - python setup.py install - python setup.py test # - py.test --cov=zone2gandi tests test:3.4: - image: python:3.4-alpine + image: python:3.4 type: test script: - - apk update && apk add git - - pip install pytest-cov - python setup.py install - python setup.py test # - py.test --cov=zone2gandi tests test:3.5: - image: python:3.5-alpine + image: python:3.5 type: test script: - - apk update && apk add git - - pip install pytest-cov - python setup.py install - python setup.py test # - py.test --cov=zone2gandi tests test:3.6: - image: python:3.6-alpine + image: python:3.6 type: test script: - - apk update && apk add git - - pip install pytest-cov - python setup.py install - python setup.py test # - py.test --cov=zone2gandi tests @@ -59,7 +50,6 @@ test:pypy-2: image: pypy:2 type: test script: - - pip install pytest-cov - python setup.py install - python setup.py test # - py.test --cov=zone2gandi tests @@ -69,6 +59,5 @@ test:pypy-3: image: pypy:3 type: test script: - - pip install pytest-cov - python setup.py install - python setup.py test