From 7e668b975146e1a82d0fed4d945b94c11b9606e3 Mon Sep 17 00:00:00 2001 From: wilsonge Date: Thu, 12 Sep 2019 11:35:39 +0100 Subject: [PATCH] Attempt removing hardcoded paths --- .drone.yml | 4 +--- .drone/build.sh | 8 -------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index e6b233b..9ace7ab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,12 +6,10 @@ steps: - name: weblinks-codeception-tests image: joomlaprojects/docker-systemtests:latest commands: - - composer install - chmod a+x .drone/build.sh - ./.drone/build.sh - apache2ctl start - service mysql start - - cd /tests/www - export DISPLAY=:0 - Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 & - sleep 3 @@ -46,6 +44,6 @@ volumes: --- kind: signature -hmac: 9346f0e74d2605ebe7bc9d33ad0588c1073ba3a9d9b254b71a7a85e219089449 +hmac: 3fa4fb3be4c4346f1e3e70adaeeefc9997e26342066efaaae1df66b29df65b4d ... diff --git a/.drone/build.sh b/.drone/build.sh index dce1f8d..f973633 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -14,11 +14,6 @@ mount # Install dependencies composer install --no-interaction --no-progress -mkdir -p /tests/www -cp -r ./* /tests/www - -cd /tests/www - cp jorobo.dist.ini jorobo.ini cp RoboFile.dist.ini RoboFile.ini @@ -27,6 +22,3 @@ vendor/bin/robo build --dev # Copy acceptance yml cp tests/acceptance.suite.dist.yml tests/acceptance.suite.yml - -chown -R www-data . -chown -R www-data /tests