Remove global variable from Travis build matrix
Global variables rewrite each other on Travis instead of creating a build matrix
This commit is contained in:
parent
60331d7b39
commit
1bedaa9e0c
71
.travis.yml
71
.travis.yml
@ -3,23 +3,60 @@ sudo: required
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
env:
|
env:
|
||||||
global:
|
- distribution: centos
|
||||||
- playbook: opensource
|
version: 6
|
||||||
- playbook: template
|
playbook: opensource
|
||||||
- playbook: upload
|
- distribution: centos
|
||||||
matrix:
|
version: 6
|
||||||
- distribution: centos
|
playbook: template
|
||||||
version: 6
|
- distribution: centos
|
||||||
- distribution: centos
|
version: 6
|
||||||
version: 7
|
playbook: push
|
||||||
- distribution: ubuntu
|
- distribution: centos
|
||||||
version: trusty
|
version: 7
|
||||||
- distribution: ubuntu
|
playbook: opensource
|
||||||
version: xenial
|
- distribution: centos
|
||||||
- distribution: debian
|
version: 7
|
||||||
version: jessie
|
playbook: template
|
||||||
- distribution: debian
|
- distribution: centos
|
||||||
version: stretch
|
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
|
||||||
|
- distribution: debian
|
||||||
|
version: jessie
|
||||||
|
playbook: template
|
||||||
|
- distribution: debian
|
||||||
|
version: jessie
|
||||||
|
playbook: push
|
||||||
|
- distribution: debian
|
||||||
|
version: stretch
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: debian
|
||||||
|
version: stretch
|
||||||
|
playbook: template
|
||||||
|
- distribution: debian
|
||||||
|
version: stretch
|
||||||
|
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'
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
vars:
|
vars:
|
||||||
main_push_enable: true
|
main_push_enable: true
|
||||||
main_push_location: ../files/nginx.conf
|
main_push_location: ../files/nginx.conf
|
||||||
http_push_enable: false
|
http_push_enable: true
|
||||||
http_push_location: ../files/http/*.conf
|
http_push_location: ../files/http/*.conf
|
Loading…
Reference in New Issue
Block a user