Skip to content

Commit

Permalink
Merge pull request #4 from likg/travis_changes
Browse files Browse the repository at this point in the history
Fix idempotence test in Travis
  • Loading branch information
likg authored Feb 1, 2020
2 parents d5ccebc + cbf9906 commit c564ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
dist: xenial
dist: bionic
sudo: false
language: python
services: docker
Expand Down Expand Up @@ -58,7 +58,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
Expand Down

0 comments on commit c564ecb

Please sign in to comment.