Skip to content
Snippets Groups Projects
Commit f4fe2646 authored by Sun Jin Kim's avatar Sun Jin Kim
Browse files

add gitlab-ci.yml

parent 06384f33
No related branches found
No related tags found
No related merge requests found
build-job:
stage: build
script:
- echo "Hello, I'm Building"
- pip install pytest
- pip install flask
- pip install pandoc # for pdf making
- pip install weasyprint # for pdf making
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
test-job:
stage: test
script:
- echo "Now I'm Testing!"
- python3 -m tests.test_query_processor
- pytest
deploy-job:
stage: deploy
script:
- echo "Now I'm Deploying to VM!"
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
- flask run &
- echo "Now I'm Deploying to Heroku!"
- dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment