From 51146787dafd8490c68f88e73d0263fc0484f634 Mon Sep 17 00:00:00 2001 From: Lik Date: Sat, 1 Feb 2020 15:41:06 +0200 Subject: [PATCH 1/4] use default python travis image --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1736948..761bb3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ --- -dist: xenial -sudo: false language: python services: docker cache: pip From ab59f1b094c1036e492e278b81db6732f6063c4e Mon Sep 17 00:00:00 2001 From: Lik Date: Sat, 1 Feb 2020 15:59:14 +0200 Subject: [PATCH 2/4] Move one block right to overcome --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 761bb3a..e036ea4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,7 @@ script: --extra-vars "DOCKER_NAME=${_DOCKER_NAME} DOCKER_IMAGE=${_DOCKER_IMAGE} DOCKER_IMAGE_INIT=${_DOCKER_IMAGE_INIT}" - > awk '/PLAY RECAP/,/EOF/ - {if (NF && $6 !~ "PLAY" && $9$10$11 !~ "changed=0unreachable=0failed=0" ) status=1 } END + {if (NF && $7 !~ "PLAY" && $10$11$12 !~ "changed=0unreachable=0failed=0" ) status=1 } END { print (status)? "Idempotence test: FAIL" : "Idempotence test: PASS"; exit status }' /tmp/idempotence.log From 463ed7deb3af8a0bb8beba235b3f59254eaa2a67 Mon Sep 17 00:00:00 2001 From: Lik Date: Sat, 1 Feb 2020 16:07:13 +0200 Subject: [PATCH 3/4] Use bionic base image --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index e036ea4..12d80e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ --- +dist: bionic language: python services: docker cache: pip From cbf9906578cd3cbdfbfca854ee519c3a2b477076 Mon Sep 17 00:00:00 2001 From: Lik Date: Sat, 1 Feb 2020 16:10:45 +0200 Subject: [PATCH 4/4] Return sudo: false --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 12d80e0..b395ba4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ --- dist: bionic +sudo: false language: python services: docker cache: pip