Add .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-05-21 23:24:57 +00:00
parent c2ddc4553e
commit 9e3a535859
1 changed files with 38 additions and 0 deletions

38
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,38 @@
# 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
image: busybox:latest
before_script:
- 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"
after_script:
- echo "After script section"
- echo "For example you might do some cleanup here"
build1:
stage: build
script:
- ls -la
- echo "Do your build here"
- zip *
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"