Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

Fix CI pipeline

Merged Daya Adianto requested to merge bug/1-build-broken into master
1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
+ 5
3
@@ -2,12 +2,13 @@
@@ -2,12 +2,13 @@
image: python:2.7-alpine
image: python:2.7-alpine
stages:
stages:
- build
- build
- test
Prepare:
build:
stage: build
stage: build
script:
before_script:
 
- apk update && apk add build-base libffi-dev openssl-dev
- pip install pipenv && pipenv install --dev
- pip install pipenv && pipenv install --dev
 
script:
- pipenv run flake8 *.py euis_legacy_cli
- pipenv run flake8 *.py euis_legacy_cli
cache:
cache:
key: "$CI_COMMIT_SLUG"
key: "$CI_COMMIT_SLUG"
@@ -15,3 +16,4 @@ Prepare:
@@ -15,3 +16,4 @@ Prepare:
paths:
paths:
- /usr/local/bin
- /usr/local/bin
- /usr/local/lib/python2.7/site-packages
- /usr/local/lib/python2.7/site-packages
 
- /root/.local/share/virtualenvs
Loading