Refactor .travis.yml
This commit is contained in:
parent
1bedaa9e0c
commit
5d291c3943
36
.travis.yml
36
.travis.yml
@ -21,24 +21,6 @@ env:
|
|||||||
- distribution: centos
|
- distribution: centos
|
||||||
version: 7
|
version: 7
|
||||||
playbook: push
|
playbook: push
|
||||||
- distribution: ubuntu
|
|
||||||
version: trusty
|
|
||||||
playbook: opensource
|
|
||||||
- distribution: ubuntu
|
|
||||||
version: trusty
|
|
||||||
playbook: template
|
|
||||||
- distribution: ubuntu
|
|
||||||
version: trusty
|
|
||||||
playbook: push
|
|
||||||
- distribution: ubuntu
|
|
||||||
version: xenial
|
|
||||||
playbook: opensource
|
|
||||||
- distribution: ubuntu
|
|
||||||
version: xenial
|
|
||||||
playbook: template
|
|
||||||
- distribution: ubuntu
|
|
||||||
version: xenial
|
|
||||||
playbook: push
|
|
||||||
- distribution: debian
|
- distribution: debian
|
||||||
version: jessie
|
version: jessie
|
||||||
playbook: opensource
|
playbook: opensource
|
||||||
@ -57,6 +39,24 @@ env:
|
|||||||
- distribution: debian
|
- distribution: debian
|
||||||
version: stretch
|
version: stretch
|
||||||
playbook: push
|
playbook: push
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: trusty
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: trusty
|
||||||
|
playbook: template
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: trusty
|
||||||
|
playbook: push
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: xenial
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: xenial
|
||||||
|
playbook: template
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: xenial
|
||||||
|
playbook: push
|
||||||
before_install:
|
before_install:
|
||||||
- 'sudo docker pull ${distribution}:${version}'
|
- 'sudo docker pull ${distribution}:${version}'
|
||||||
- 'sudo docker build --no-cache --rm --file=tests/dockerfiles/Dockerfile.${distribution}-${version} --tag=${distribution}-${version}:ansible tests'
|
- 'sudo docker build --no-cache --rm --file=tests/dockerfiles/Dockerfile.${distribution}-${version} --tag=${distribution}-${version}:ansible tests'
|
||||||
|
Loading…
Reference in New Issue
Block a user