From 5d13c631a214ea53c30a6a65ae1c0ac5627466a9 Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@ie.suberic.net>
Date: Fri, 20 Jan 2017 23:30:12 +0000
Subject: [PATCH] Alpine was a pain. Switch to Debian.

---
 .gitlab-ci.yml | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 830785d..e0612eb 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
-- 
GitLab