try travis cache and log atlas-run start output

This commit is contained in:
Cory Bennett
2016-08-29 00:19:27 -07:00
parent 2b56833c1c
commit c18d2140e4
2 changed files with 6 additions and 3 deletions
+5
View File
@@ -16,3 +16,8 @@ script:
- make lint
- make
- export OSHT_VERBOSE=1 && prove -v
cache:
directories:
- t/.maven-cache
- t/start.log
+1 -3
View File
@@ -19,9 +19,7 @@ RUNS docker run --detach -v $(pwd)/.maven-cache:/root/.m2/repository --name go-j
RUNS sleep 5
echo "# Waiting for jira service to be listening on port 8080"
docker exec -i go-jira-test tail -f screenlog.0
#| grep -m 1 'jira started successfully' | sed 's/^/# /'
docker exec -i go-jira-test tail -f screenlog.0 | tee start.log | grep -m 1 'jira started successfully' | sed 's/^/# /'
# wait for healthchecks to pass, curl will retry 900 times over 15 min waiting
RUNS curl -q -L --retry 900 --retry-delay 1 -f -s "http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=1"