blob: 3358118bbb081a5a81f1866f22bd2f0cb66fa351 [file] [log] [blame]
Ash Wilson0ba94d32016-01-30 17:23:53 -08001sudo: required
Ash Wilsone217e532016-01-30 17:13:15 -08002
3language: ruby
4
Ash Wilson3f4465f2016-01-30 16:34:53 -08005env: DOCKERFILE=Ubuntu14.docker IMGNAME=ubu-grgsm SRC_IMGNAME=ubuntu:14.04
Ash Wilsone217e532016-01-30 17:13:15 -08006
Ash Wilson3f4465f2016-01-30 16:34:53 -08007services:
8 -docker
Ash Wilson628cf3b2016-01-30 14:13:08 -08009
Ash Wilson96a56b42016-01-30 15:13:13 -080010before_install:
Ash Wilson45e4c852016-01-30 16:12:21 -080011 - cat $DOCKERFILE | sed -e 's/SOURCE_IMAGE_NAME/$SRC_IMGNAME/g' > Dockerfile
Ash Wilson119935b2016-01-30 16:19:19 -080012 - docker build -t $IMGNAME .
Ash Wilson96a56b42016-01-30 15:13:13 -080013
14script:
Ash Wilson119935b2016-01-30 16:19:19 -080015 - docker run -it --rm $IMGNAME /build_test_scripts/decode.sh