From 943d6c89e63d29a672c8525cd0ddecdd1ef735b2 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 30 Sep 2020 15:10:46 +0100 Subject: [PATCH] fix --- .drone.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3edc096..2f0aeae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,31 +5,31 @@ name: testsuite steps: - name: composer install - image: chialab/php - commands: - - composer install - volumes: - - name: composer-cache - path: /root/.composer/cache/ + image: chialab/php + commands: + - composer install + volumes: + - name: composer-cache + path: /root/.composer/cache/ - name: wait for test server - image: alpine - commands: - - echo "Waiting for server to launch on testserver:8080..." - - while ! nc -z testserver 8080; do sleep 0.1 ; done - - echo "Ready!" + image: alpine + commands: + - echo "Waiting for server to launch on testserver:8080..." + - while ! nc -z testserver 8080; do sleep 0.1 ; done + - echo "Ready!" - name: run tests - image: chialab/php - commands: - - URL=http://testserver:8080 vendor/bin/phpunit tests + image: chialab/php + commands: + - URL=http://testserver:8080 vendor/bin/phpunit tests services: - name: testserver - image: node - detach: true - commands: - - cd tests/server/ - - npm install - - node server.js + image: node + detach: true + commands: + - cd tests/server/ + - npm install + - node server.js