mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
Merge pull request #254 from chubin/travis-cleanup
Clean up Travis files
This commit is contained in:
-17
@@ -1,17 +0,0 @@
|
||||
dist: focal
|
||||
|
||||
language:
|
||||
- generic
|
||||
|
||||
before_install:
|
||||
- docker-compose build
|
||||
- docker images
|
||||
- docker-compose -f docker-compose.yml up -d
|
||||
#- docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
|
||||
- docker-compose ps
|
||||
# wait until the web server is up
|
||||
- wget --timeout 3 --tries=5 --spider localhost:8002 2>&1 | grep -i http
|
||||
- docker-compose logs --no-color
|
||||
|
||||
script:
|
||||
- CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh
|
||||
@@ -17,7 +17,6 @@ What features should it have?
|
||||
|
||||
Such a thing exists.
|
||||
|
||||
[](https://travis-ci.org/chubin/cheat.sh)
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
@@ -90,9 +90,6 @@ while read -r number test_line; do
|
||||
if [ "$show_details" = YES ]; then
|
||||
cat "$TMP2"
|
||||
fi
|
||||
if grep -q "Internal Server Error" "$TMP2"; then
|
||||
[[ $TRAVIS == true ]] && docker logs chtsh
|
||||
fi
|
||||
echo "FAILED: [$number] $test_line"
|
||||
else
|
||||
cat "$TMP" > results/"$number"
|
||||
|
||||
Reference in New Issue
Block a user