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: build-job:
stage: build stage: build
script: script:
- echo "Hello, I'm Building" - python3 -m venv venv
- pip install pytest - . venv/bin/activate
- pip install flask - pip install -r requirements.txt
- pip install pandoc # for pdf making
- pip install weasyprint # for pdf making
test-job: test-job:
stage: test stage: test
script: script:
- echo "Now I'm Testing!" - pytest
- python3 -m tests.test_query_processor
deploy-job: # deploy-job:
stage: deploy # stage: deploy
script: # script:
- echo "Now I'm Deploying to VM!" # - echo "Now I'm Deploying to VM!"
- python3 -m venv venv # - flask run &
- . venv/bin/activate # - echo "Now I'm Deploying to Heroku!"
- pip install -r requirements.txt # - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b
- 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