Agregada stage de testeo a gitlab-ci
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
image: python:latest
|
||||
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- apt-get update -y && apt-get upgrade -y
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- ./lint.sht
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
## Install ssh-agent if not already installed
|
||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
|
||||
|
||||
Reference in New Issue
Block a user