From 757168541efb34706248fe5655ee788f60623127 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Fri, 27 Aug 2021 11:26:59 +0200 Subject: [PATCH] part 1 deployed --- .gitlab-ci.yml | 16 ++++++++++++++++ .idea/vcs.xml | 6 ++++++ 2 files changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 .idea/vcs.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..909a418 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +test: + script: + - apt-get update -qy + - apt-get install -y python-dev python-pip + - pip install -r requirements.txt + - pytest -v tests + +staging: + type: deploy + script: + - apt-get update -qy + - apt-get install -y python-dev + - pip install -r requirements.txt + - dpl --provider=heroku --app=$HEROKU_STAGING_APP + only: + - master diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file