added Travis testing script

This commit is contained in:
Brian Christner 2017-08-02 16:44:24 +02:00
parent 509465d7fd
commit 004feb39d4
No known key found for this signature in database
GPG key ID: 8453AD0CB29591D1

View file

@ -1,15 +1,15 @@
sudo: required sudo: required
2
3 services: services:
4 - docker - docker
5
6 language: bash language: bash
7
8 before_script: before_script:
9 - docker-compose pull - docker-compose pull
10 - docker-compose up -d - docker-compose up -d
11 - docker ps - docker ps
12
13 script: script:
14 - while ! curl --retry 10 --retry-delay 5 -v http://0.0.0.0:9090 >/dev/null; do sleep 1; done - while ! curl --retry 10 --retry-delay 5 -v http://0.0.0.0:9090 >/dev/null; do sleep 1; done
16 - while ! curl --retry 10 --retry-delay 5 -v http://0.0.0.0:3000 >/dev/null; do sleep 1; done - while ! curl --retry 10 --retry-delay 5 -v http://0.0.0.0:3000 >/dev/null; do sleep 1; done