blob: 5402869462851089972f07ac186e64e4878f9bd2 [file] [log] [blame]
Ash Wilson6d27c1b2016-01-30 16:22:56 -08001os: linux
2
Ash Wilson119935b2016-01-30 16:19:19 -08003sudo: required
Ash Wilson628cf3b2016-01-30 14:13:08 -08004
Ash Wilson6d27c1b2016-01-30 16:22:56 -08005language: generic
6
Ash Wilson96a56b42016-01-30 15:13:13 -08007services:
8 - docker
9
Ash Wilson628cf3b2016-01-30 14:13:08 -080010matrix:
11 include:
12 - os: linux
Ash Wilson45e4c852016-01-30 16:12:21 -080013 env: DOCKERFILE=Ubuntu14.docker IMGNAME=ubu-grgsm SRC_IMGNAME=ubuntu:14.04
Ash Wilson628cf3b2016-01-30 14:13:08 -080014
Ash Wilson96a56b42016-01-30 15:13:13 -080015before_install:
Ash Wilson45e4c852016-01-30 16:12:21 -080016 - cat $DOCKERFILE | sed -e 's/SOURCE_IMAGE_NAME/$SRC_IMGNAME/g' > Dockerfile
Ash Wilson119935b2016-01-30 16:19:19 -080017 - docker build -t $IMGNAME .
Ash Wilson96a56b42016-01-30 15:13:13 -080018
19script:
Ash Wilson119935b2016-01-30 16:19:19 -080020 - docker run -it --rm $IMGNAME /build_test_scripts/decode.sh