Use Python 2 in Alpine Linux, because that's default.
[open-adventure.git] / .gitlab-ci.yml
index 291b943a7e4c1ab5359fd7d33bcbd5e18ed796fa..481ab91f1201c601f0946899c9abb69a25fd722d 100644 (file)
@@ -10,9 +10,9 @@ binary:debug:
   stage: build
   before_script:
     - apk update
-    - apk add make gcc musl-dev python3 libedit-dev
-    - pip3 install PyYAML
-  script: 
+    - apk add make gcc musl-dev python libedit-dev
+    - pip install PyYAML
+  script:
     - make debug
   artifacts:
     paths:
@@ -29,9 +29,9 @@ binary:release:
   stage: build
   before_script:
     - apk update
-    - apk add make gcc musl-dev python3 libedit-dev
-    - pip3 install PyYAML
-  script: 
+    - apk add make gcc musl-dev python libedit-dev
+    - pip install PyYAML
+  script:
     - make advent cheat
   artifacts:
     paths:
@@ -81,7 +81,8 @@ test:debug:
   stage: test
   before_script:
     - apk update
-    - apk add make gcc
+    - apk add make gcc python libedit-dev
+    - pip install PyYAML
     - apk add lcov --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
   script:
     - cd tests
@@ -98,7 +99,7 @@ test:release:
   stage: test
   before_script:
     - apk update
-    - apk add make
+    - apk add make libedit
   script:
     - cd tests
     - make
@@ -118,4 +119,3 @@ pages:
     - master
   dependencies:
     - test:debug
-