1 # Specify the docker image to use (only used if using docker runners) 2 # See: http://doc.gitlab.com/ee/ci/docker/using_docker_images.html 3 image: ubuntu:14.04 4 5 # Define commands that run before each job's script 6 before_script: 7 - apt-get update 8 - apt-get install -y make gcc g++ 9 10 # Try to compile our sample hello world app 11 compile: 12 script: 13 # Compile our app 14 - make 15 # Verify that our compiled app works properly with a custom "test" script 16 - bash ./src/ci_test.sh 17 # Save the compiled output from the above for downloading via GitLab and in Gitlab 8.6 to use in future build steps 18 #artifacts: 19 # paths: 20 # - ansifilter