Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.03 KiB
Newer Older
Manja Musterfrau's avatar
Manja Musterfrau committed
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"
Manja Musterfrau's avatar
Manja Musterfrau committed
  - echo "For example you might ro some cleanup here"
Manja Musterfrau's avatar
Manja Musterfrau committed

build1:
  stage: build
  only:
    - master
  tags:
    - cpp
  script:
    - echo "Do your build here"

test1:
  stage: test
  only:
    - master
  script:
    - echo "For test1 example run a test suite"

test2:
  stage: test
  tags:
    - perl
  script:
    - echo "Do test2 another parallel test here"
    - echo "For test2 example run a lint test"

test3:
  stage: test
  only:
    - master
  script:
    - echo "Do test3 another parallel test here"
    - echo "For test3 example run a lint test"

test4:
  stage: test
  only:
    - master
  tags:
    - ruby
  script:
    - echo "Do test4 another parallel test here"
    - echo "For test4 example run a lint test"

deploy1:
  stage: deploy
  only:
    - master
  script:
    - echo "Do your deploy here"