github.com/ianfoo/lab@v0.9.5-0.20180123060006-5ed79f2ccfc7/testdata/.gitlab-ci.yml (about)

     1  image: busybox:latest
     2  
     3  before_script:
     4    - echo "Before script section"
     5    - echo "For example you might run an update here or install a build dependency"
     6    - echo "Or perhaps you might print out some debugging details"
     7     
     8  after_script:
     9    - echo "After script section"
    10    - echo "For example you might do some cleanup here"
    11     
    12  build1:
    13    stage: build
    14    script:
    15      - echo "Do your build here"
    16     
    17  test1:
    18    stage: test
    19    script: 
    20      - echo "Do a test here"
    21      - echo "For example run a test suite"
    22     
    23  test2:
    24    stage: test
    25    script: 
    26      - echo "Do another parallel test here"
    27      - echo "For example run a lint test"
    28     
    29  deploy1:
    30    stage: deploy
    31    script:
    32      - echo "Do your deploy here"