Unverified Commit 9bcd79c7 authored by skoulouzis's avatar skoulouzis Committed by GitHub

Update .travis.yml

parent 384e3109
...@@ -22,9 +22,9 @@ matrix: ...@@ -22,9 +22,9 @@ matrix:
- pip install -r requirements.txt - pip install -r requirements.txt
- 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 4 ]; 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
...@@ -36,9 +36,9 @@ matrix: ...@@ -36,9 +36,9 @@ matrix:
- pip install -r requirements.txt - pip install -r requirements.txt
- 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 4 ]; 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
...@@ -49,9 +49,9 @@ matrix: ...@@ -49,9 +49,9 @@ matrix:
- cd planner - cd planner
- 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 4 ]; 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
- docker build -t qcdis/planner:3.0.0 . - docker build -t qcdis/planner:3.0.0 .
...@@ -68,9 +68,9 @@ matrix: ...@@ -68,9 +68,9 @@ matrix:
- python setup.py install - python setup.py install
- cd ../deployer - cd ../deployer
- 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 5 ]; then break;
fi; done # fi; done
script: script:
- python -m unittest discover - python -m unittest discover
- docker build -t qcdis/deployer:3.0.0 . - docker build -t qcdis/deployer:3.0.0 .
...@@ -81,9 +81,9 @@ matrix: ...@@ -81,9 +81,9 @@ matrix:
before_script: before_script:
- mvn -Dmaven.test.skip=true install - mvn -Dmaven.test.skip=true install
- 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 5 ]; then break;
fi; done # fi; done
script: script:
- mvn test - mvn test
- cd manager - cd manager
......
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