1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Files
cheat.sh/.travis.yml
T
Anatoli Babenia 10bfaab38c Modern DevOps is a PITA
Run Python 3 in unbuffered mode to see lines in `docker logs` as
soon as they appear. When Python 3 is not attached to a terminal,
it turns on the buffering, like when `docker` runs in a background.
2020-07-31 13:31:31 +03:00

17 lines
331 B
YAML

dist: bionic
language:
- generic
before_install:
- docker-compose build
- docker-compose run -d --service-ports app --debug
- docker ps
- docker images
script:
- sleep 3
- curl http://localhost:8002
- docker-compose logs app
- CHTSH_URL=http://localhost:8002 CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh