1
0
Fork 0
mirror of synced 2024-05-09 15:22:33 +12:00

Merge pull request #2552 from appwrite/feat-enable-travis-again

ci: add travis again
This commit is contained in:
Torsten Dittmann 2022-01-04 17:02:47 +01:00 committed by GitHub
commit 05425934c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,6 @@ dist: focal
arch:
- amd64
- arm64-graviton2
os: linux
@ -54,16 +53,16 @@ install:
- docker pull php:8.0-cli-alpine
- docker-compose build
- docker-compose up -d
- sleep 10
- sleep 60
script:
- docker ps -a
# Tests should fail if any container is in exited status
- ALL_UP=`docker ps -aq --filter "status=exited"`
- >
if [[ "$ALL_UP" != "" ]]; then
exit 1
fi
# - ALL_UP=`docker ps -aq --filter "status=exited"`
# - >
# if [[ "$ALL_UP" != "" ]]; then
# exit 1
# fi
- docker-compose logs appwrite
- docker-compose logs appwrite-realtime
- docker-compose logs mariadb

View file

@ -46,7 +46,7 @@ abstract class Scope extends TestCase
protected function getLastRequest():array
{
sleep(1);
sleep(5);
$resquest = json_decode(file_get_contents('http://request-catcher:5000/__last_request__'), true);
$resquest['data'] = json_decode($resquest['data'], true);