From 51101f0a82abdc02137921cce254f35a96833129 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 29 Sep 2016 11:23:49 -0500 Subject: [PATCH] Rearrange order of docker exec test command. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47b7737..1e2e0d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,8 +43,7 @@ script: || (echo 'Idempotence test: fail' && exit 1) # Check PostgreSQL status. - - 'docker exec "$(cat ${container_id})" cat /etc/passwd' - - 'docker exec "$(cat ${container_id})" -u postgres pg_ctl status' + - 'docker exec -u postgres "$(cat ${container_id})" pg_ctl status' notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/