Try to debug the CI
This commit is contained in:
parent
388fd1cdf5
commit
c6b9bee28e
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ python:
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
install:
|
install:
|
||||||
|
- sudo apt-get install -y curl
|
||||||
- sudo pip install -U pip
|
- sudo pip install -U pip
|
||||||
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||||
- sudo chmod +x /usr/local/bin/docker-compose
|
- sudo chmod +x /usr/local/bin/docker-compose
|
||||||
|
@ -17,5 +18,6 @@ script:
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- docker-compose ps
|
- docker-compose ps
|
||||||
- sleep 2
|
- sleep 2
|
||||||
|
- curl http://localhost:5005/
|
||||||
- docker-compose logs web
|
- docker-compose logs web
|
||||||
- pytest -v --ignore data
|
- pytest -v --ignore data
|
||||||
|
|
Loading…
Reference in a new issue