Skip to content

Commit

Permalink
Modify: reduce build tasks for Travis CI to avoid 50-minute timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
William-Yeh committed Nov 27, 2018
1 parent 9f127f9 commit e1cb5d4
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ before_install:
- docker build -t ansible_alpine3_onbuild alpine3-onbuild


- docker build -t ansible_1.9_trusty 1.9-ubuntu14.04
- docker build -t ansible_1.9_jessie 1.9-debian8
- docker build -t ansible_1.9_alpine3 1.9-alpine3

- docker build -t ansible_1.9_trusty_onbuild 1.9-ubuntu14.04-onbuild
- docker build -t ansible_1.9_jessie_onbuild 1.9-debian8-onbuild
- docker build -t ansible_1.9_alpine3_onbuild 1.9-alpine3-onbuild


- docker build -t ansible_master_bionic master-ubuntu18.04
- docker build -t ansible_master_xenial master-ubuntu16.04
- docker build -t ansible_master_stretch master-debian9
Expand All @@ -45,13 +36,6 @@ before_install:
- docker build -t ansible_master_centos7_onbuild master-centos7-onbuild


- docker build -t ansible_mini_alpine3 mini-alpine3
- docker build -t ansible_mini_debian9 mini-debian9
- docker build -t ansible_mini_debian8 mini-debian8
- docker build -t nginx_alpine3 -f mini-test/Dockerfile.alpine3 mini-test
- docker build -t nginx_debian9 -f mini-test/Dockerfile.debian9 mini-test
- docker build -t nginx_debian8 -f mini-test/Dockerfile.debian8 mini-test


script:
- docker run -i ansible_bionic > result-ubuntu18.04
Expand All @@ -70,14 +54,6 @@ script:
- docker run -i ansible_alpine3_onbuild > result-alpine3-onbuild


- docker run -i ansible_1.9_trusty > result-1.9-ubuntu14.04
- docker run -i ansible_1.9_jessie > result-1.9-debian8
- docker run -i ansible_1.9_alpine3 > result-1.9-alpine3
- docker run -i ansible_1.9_trusty_onbuild > result-1.9-ubuntu14.04-onbuild
- docker run -i ansible_1.9_jessie_onbuild > result-1.9-debian8-onbuild
- docker run -i ansible_1.9_alpine3_onbuild > result-1.9-alpine3-onbuild


- docker run -i ansible_master_bionic > result-master-ubuntu18.04
- docker run -i ansible_master_xenial > result-master-ubuntu16.04
- docker run -i ansible_master_stretch > result-master-debian9
Expand All @@ -90,11 +66,6 @@ script:
- docker run -i ansible_master_centos7_onbuild > result-master-centos7-onbuild


- docker run -i nginx_alpine3 2> result-nginx-alpine3
- docker run -i nginx_debian9 2> result-nginx-debian9
- docker run -i nginx_debian8 2> result-nginx-debian8


- echo "==> Validating the test results..."
- sh -c "[ -s result-ubuntu18.04 ]"
- sh -c "[ -s result-ubuntu16.04 ]"
Expand All @@ -111,13 +82,6 @@ script:
- sh -c "[ -s result-centos7-onbuild ]"
- sh -c "[ -s result-alpine3-onbuild ]"

- sh -c "[ -s result-1.9-ubuntu14.04 ]"
- sh -c "[ -s result-1.9-debian8 ]"
- sh -c "[ -s result-1.9-alpine3 ]"
- sh -c "[ -s result-1.9-ubuntu14.04-onbuild ]"
- sh -c "[ -s result-1.9-debian8-onbuild ]"
- sh -c "[ -s result-1.9-alpine3-onbuild ]"

- sh -c "[ -s result-master-ubuntu18.04 ]"
- sh -c "[ -s result-master-ubuntu16.04 ]"
- sh -c "[ -s result-master-debian9 ]"
Expand All @@ -128,7 +92,3 @@ script:
- sh -c "[ -s result-master-debian9-onbuild ]"
- sh -c "[ -s result-master-debian8-onbuild ]"
- sh -c "[ -s result-master-centos7-onbuild ]"

- sh -c "[ -s result-nginx-alpine3 ]"
- sh -c "[ -s result-nginx-debian9 ]"
- sh -c "[ -s result-nginx-debian8 ]"

0 comments on commit e1cb5d4

Please sign in to comment.