From faf64d940e59dc054c7613cd153ac484d8096ff0 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Fri, 14 Jun 2019 00:47:59 -0700 Subject: [PATCH] Slightly better test? --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6266a5ee..353221a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,10 +25,11 @@ install: - rvm 2.0.0 do gem install --no-document fpm - dep ensure - docker build -t unifi-poller . -- docker run -d --name unifi-poller unifi-poller +- docker run -d --name unifi-poller unifi-poller | tee docker_id script: # Once we figure out how to keep it running we can remove the -a in ps args. - docker ps -a | grep -q unifi-poller +- docker logs $(&1 | grep -Eq "Loaded Configuration[:] /etc/unifi-poller/up.conf" - rvm 2.0.0 do make release # get deploy key for golift/homebrew-mugs. after_success: