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
|
||||
version: 7
|
||||
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
|
||||
version: jessie
|
||||
playbook: opensource
|
||||
@ -57,6 +39,24 @@ env:
|
||||
- distribution: debian
|
||||
version: stretch
|
||||
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:
|
||||
- 'sudo docker pull ${distribution}:${version}'
|
||||
- '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