diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7517b37d7972bddeeb83eb43db485d8378a7baa..df6506e28a7767cd17b4c6e4ea15ebb3c4416d85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,20 @@ -build-job: - stage: build - script: - - python3 -m venv venv - - . venv/bin/activate - - pip3 install -r requirements.txt --no-cache-dir - -test-job: - stage: test - script: - - pytest - -# deploy-job: -# stage: deploy -# script: - # - echo "Now I'm Deploying to VM!" - # - flask run & - # - echo "Now I'm Deploying to Heroku!" - # - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b +build-job: + stage: build + script: + - python3 -m venv venv + - . venv/bin/activate + - pip3 install wheel + - pip3 install -r requirements.txt --no-cache-dir + +test-job: + stage: test + script: + - pytest + +# deploy-job: +# stage: deploy +# script: + # - echo "Now I'm Deploying to VM!" + # - flask run & + # - echo "Now I'm Deploying to Heroku!" + # - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b