Ash Wilson | 6d27c1b | 2016-01-30 16:22:56 -0800 | [diff] [blame^] | 1 | os: linux |
2 | |||||
Ash Wilson | 119935b | 2016-01-30 16:19:19 -0800 | [diff] [blame] | 3 | sudo: required |
Ash Wilson | 628cf3b | 2016-01-30 14:13:08 -0800 | [diff] [blame] | 4 | |
Ash Wilson | 6d27c1b | 2016-01-30 16:22:56 -0800 | [diff] [blame^] | 5 | language: generic |
6 | |||||
Ash Wilson | 96a56b4 | 2016-01-30 15:13:13 -0800 | [diff] [blame] | 7 | services: |
8 | - docker | ||||
9 | |||||
Ash Wilson | 628cf3b | 2016-01-30 14:13:08 -0800 | [diff] [blame] | 10 | matrix: |
11 | include: | ||||
12 | - os: linux | ||||
Ash Wilson | 45e4c85 | 2016-01-30 16:12:21 -0800 | [diff] [blame] | 13 | env: DOCKERFILE=Ubuntu14.docker IMGNAME=ubu-grgsm SRC_IMGNAME=ubuntu:14.04 |
Ash Wilson | 628cf3b | 2016-01-30 14:13:08 -0800 | [diff] [blame] | 14 | |
Ash Wilson | 96a56b4 | 2016-01-30 15:13:13 -0800 | [diff] [blame] | 15 | before_install: |
Ash Wilson | 45e4c85 | 2016-01-30 16:12:21 -0800 | [diff] [blame] | 16 | - cat $DOCKERFILE | sed -e 's/SOURCE_IMAGE_NAME/$SRC_IMGNAME/g' > Dockerfile |
Ash Wilson | 119935b | 2016-01-30 16:19:19 -0800 | [diff] [blame] | 17 | - docker build -t $IMGNAME . |
Ash Wilson | 96a56b4 | 2016-01-30 15:13:13 -0800 | [diff] [blame] | 18 | |
19 | script: | ||||
Ash Wilson | 119935b | 2016-01-30 16:19:19 -0800 | [diff] [blame] | 20 | - docker run -it --rm $IMGNAME /build_test_scripts/decode.sh |