2017-03-08 18:16:47 -05:00
|
|
|
# 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
|
|
|
|
image: busybox:latest
|
|
|
|
|
|
|
|
before_script:
|
2017-09-07 05:25:06 -04:00
|
|
|
- echo "Before script section"
|
|
|
|
- echo "For example you might run an update here or install a build dependency"
|
|
|
|
- echo "Or perhaps you might print out some debugging details"
|
2017-03-08 18:16:47 -05:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- echo "After script section"
|
|
|
|
- echo "For example you might do some cleanup here"
|
|
|
|
|
|
|
|
build1:
|
2017-09-07 05:25:06 -04:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- echo "Do your build here"
|
2017-03-08 18:16:47 -05:00
|
|
|
|
|
|
|
test1:
|
2017-09-07 05:25:06 -04:00
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- echo "Do a test here"
|
|
|
|
- echo "For example run a test suite"
|
2017-03-08 18:16:47 -05:00
|
|
|
|
|
|
|
test2:
|
2017-09-07 05:25:06 -04:00
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- echo "Do another parallel test here"
|
|
|
|
- echo "For example run a lint test"
|
2017-03-08 18:16:47 -05:00
|
|
|
|
|
|
|
deploy1:
|
2017-09-07 05:25:06 -04:00
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- echo "Do your deploy here"
|