Skip to content
Snippets Groups Projects
.gitlab-ci.yml 576 B
Newer Older
  • Learn to ignore specific revisions
  • sk2521's avatar
    sk2521 committed
    # build-job:
    #   stage: build
    #   script:
    #     - python3 -m venv venv
    #     - . venv/bin/activate
    #     - pip3 install wheel
    #     - pip3 install -r requirements.txt --no-cache-dir
    
    sk2521's avatar
    sk2521 committed
        - python3 -m venv venv
        - . venv/bin/activate
        - pip3 install -r requirements.txt --no-cache-dir
    
        - 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