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 ee273e2d51 Now fixing connection to Redis on Travis Docker
Default `localhost:6379` doesn't work there. Trying to set
REDIS_HOST advertised in `run-tests.sh`
2020-07-31 19:29:43 +03:00

18 lines
386 B
YAML

dist: bionic
language:
- generic
before_install:
- docker-compose build
- docker images
- docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
- docker-compose ps
script:
- sleep 3
- curl http://localhost:8002
- docker-compose logs --no-color
- docker logs chtsh
- REDIS_HOST=http://redis:6379 CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh