2019-05-22 01:24:57 +02:00
|
|
|
# This file is a template, and might need editing before it works on your project.
|
|
|
|
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
|
|
|
|
|
|
|
|
# you can delete this line if you're not using Docker
|
2019-05-22 01:56:15 +02:00
|
|
|
image: alpine:latest
|
2019-05-22 01:24:57 +02:00
|
|
|
|
|
|
|
before_script:
|
2019-05-22 01:56:15 +02:00
|
|
|
- apk add --no-cache zip
|
2019-05-22 01:24:57 +02:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- echo "After script section"
|
|
|
|
- echo "For example you might do some cleanup here"
|
|
|
|
|
|
|
|
build1:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- echo "Do your build here"
|
|
|
|
|
|
|
|
test1:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- echo "Do a test here"
|
|
|
|
- echo "For example run a test suite"
|
|
|
|
|
|
|
|
test2:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- echo "Do another parallel test here"
|
|
|
|
- echo "For example run a lint test"
|
|
|
|
|
|
|
|
deploy1:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- echo "Do your deploy here"
|