Unverified Commit b0a1f82c authored by skoulouzis's avatar skoulouzis Committed by GitHub

Update .travis.yml

parent 74ba1d61
...@@ -23,7 +23,7 @@ matrix: ...@@ -23,7 +23,7 @@ matrix:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- docker stack deploy conf-test -c docker-compose-test.yml - docker stack deploy conf-test -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081); - count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break; do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 4 ]; then break;
fi; done fi; done
script: script:
- python -m unittest discover - python -m unittest discover
...@@ -37,7 +37,7 @@ matrix: ...@@ -37,7 +37,7 @@ matrix:
- pip install -r test-requirements.txt - pip install -r test-requirements.txt
- docker stack deploy conf-test -c docker-compose-test.yml - docker stack deploy conf-test -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081); - count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break; do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 4 ]; then break;
fi; done fi; done
script: script:
- python -m unittest discover - python -m unittest discover
...@@ -50,7 +50,7 @@ matrix: ...@@ -50,7 +50,7 @@ matrix:
- pip install -r requirements.txt - pip install -r requirements.txt
- docker stack deploy conf-test -c docker-compose-test.yml - docker stack deploy conf-test -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081); - count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break; do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 4 ]; then break;
fi; done fi; done
script: script:
- python -m unittest discover - python -m unittest discover
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment