Refactor .travis.yml

This commit is contained in:
Alessandro Fael Garcia 2018-04-18 13:18:48 -07:00
parent 1bedaa9e0c
commit 5d291c3943

View File

@ -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'