allow failures on windowservercode and nanoserver

This commit is contained in:
Greyscale 2019-08-13 17:49:38 +02:00
parent 3f61e195b2
commit dc805e7c75
2 changed files with 7 additions and 1 deletions

View file

@ -10,6 +10,8 @@ script:
- 'docker-compose -f build.yml build redis-$VERSION'
after_script:
- 'docker-compose -f build.yml push redis-$VERSION'
matrix:
allow_failures: { VERSION: [windowsservercode, nanoserver] }
env:
- VERSION=windowsservercore
- VERSION=stretch

View file

@ -40,6 +40,11 @@ $travisYaml = [
'after_script' => [
'docker-compose -f build.yml push redis-$VERSION'
],
'matrix' => [
'allow_failures' => [
'VERSION' => [ 'windowsservercode', 'nanoserver' ],
],
],
'env' => [],
];
@ -73,7 +78,6 @@ foreach($results as $result) {
rsort($travisYaml['env']);
$travisYaml['env'] = array_slice($travisYaml['env'],0,200);
file_put_contents("build.yml", Yaml::dump($buildYaml));
file_put_contents(".travis.yml", Yaml::dump($travisYaml));