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
47
.travis.yml
47
.travis.yml
@ -3,23 +3,60 @@ sudo: required
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
env:
|
env:
|
||||||
global:
|
|
||||||
- playbook: opensource
|
|
||||||
- playbook: template
|
|
||||||
- playbook: upload
|
|
||||||
matrix:
|
|
||||||
- distribution: centos
|
- distribution: centos
|
||||||
version: 6
|
version: 6
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: centos
|
||||||
|
version: 6
|
||||||
|
playbook: template
|
||||||
|
- distribution: centos
|
||||||
|
version: 6
|
||||||
|
playbook: push
|
||||||
- distribution: centos
|
- distribution: centos
|
||||||
version: 7
|
version: 7
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: centos
|
||||||
|
version: 7
|
||||||
|
playbook: template
|
||||||
|
- distribution: centos
|
||||||
|
version: 7
|
||||||
|
playbook: push
|
||||||
- distribution: ubuntu
|
- distribution: ubuntu
|
||||||
version: trusty
|
version: trusty
|
||||||
|
playbook: opensource
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: trusty
|
||||||
|
playbook: template
|
||||||
|
- distribution: ubuntu
|
||||||
|
version: trusty
|
||||||
|
playbook: push
|
||||||
- distribution: ubuntu
|
- distribution: ubuntu
|
||||||
version: xenial
|
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
|
||||||
|
- distribution: debian
|
||||||
|
version: jessie
|
||||||
|
playbook: template
|
||||||
|
- distribution: debian
|
||||||
|
version: jessie
|
||||||
|
playbook: push
|
||||||
- distribution: debian
|
- distribution: debian
|
||||||
version: stretch
|
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