mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2024-12-25 21:44:34 +00:00
added Travis testing script
This commit is contained in:
parent
509465d7fd
commit
004feb39d4
28
.travis.yml
28
.travis.yml
|
@ -1,15 +1,15 @@
|
|||
sudo: required
|
||||
2
|
||||
3 services:
|
||||
4 - docker
|
||||
5
|
||||
6 language: bash
|
||||
7
|
||||
8 before_script:
|
||||
9 - docker-compose pull
|
||||
10 - docker-compose up -d
|
||||
11 - docker ps
|
||||
12
|
||||
13 script:
|
||||
14 - 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
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
language: bash
|
||||
|
||||
before_script:
|
||||
- docker-compose pull
|
||||
- docker-compose up -d
|
||||
- docker ps
|
||||
|
||||
script:
|
||||
- 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:3000 >/dev/null; do sleep 1; done
|
||||
|
|
Loading…
Reference in a new issue