Agregada stage de testeo a gitlab-ci

This commit is contained in:
Daniel Cortes
2020-06-07 23:01:39 -04:00
parent a4ec4d35cc
commit a6d3862900

View File

@@ -1,9 +1,19 @@
image: python:latest image: python:latest
stages:
- test
- deploy
before_script: before_script:
- apt-get update -y && apt-get upgrade -y - apt-get update -y && apt-get upgrade -y
test:
stage: test
script:
- ./lint.sht
deploy: deploy:
stage: deploy
script: script:
## Install ssh-agent if not already installed ## Install ssh-agent if not already installed
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'