debian-mirror-gitlab/lib/gitlab/ci/templates/Bash.gitlab-ci.yml

36 lines
806 B
YAML
Raw Normal View History

2017-08-17 22:00:37 +05:30
# 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:
2018-03-17 18:26:18 +05:30
- 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"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
build1:
2018-03-17 18:26:18 +05:30
stage: build
script:
- echo "Do your build here"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
test1:
2018-03-17 18:26:18 +05:30
stage: test
2019-07-07 11:18:12 +05:30
script:
2018-03-17 18:26:18 +05:30
- echo "Do a test here"
- echo "For example run a test suite"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
test2:
2018-03-17 18:26:18 +05:30
stage: test
2019-07-07 11:18:12 +05:30
script:
2018-03-17 18:26:18 +05:30
- echo "Do another parallel test here"
- echo "For example run a lint test"
2019-07-07 11:18:12 +05:30
2017-08-17 22:00:37 +05:30
deploy1:
2018-03-17 18:26:18 +05:30
stage: deploy
script:
- echo "Do your deploy here"