diff --git a/.drone.yml b/.drone.yml index 2c32a54..aba67db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: testsuite steps: - name: composer install - image: chialab/php + image: chialab/php:7.4 commands: - composer install volumes: @@ -13,21 +13,21 @@ steps: path: /root/.composer/cache/ - name: wait for test server - image: alpine + image: alpine:3.12 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 + image: chialab/php:7.4 commands: - URL=http://testserver:8080 vendor/bin/phpunit tests --testdox --color=always --no-interaction services: - name: testserver - image: node + image: node:15.2.0-alpine3.12 detach: true commands: - cd tests/server/ diff --git a/composer.json b/composer.json index 88632dc..2347bfa 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "description": "Generate full sitemap report using spatie/crawler", "type": "library", "require": { - "php": "^7.3", - "spatie/crawler": "^4.7", + "php": "^7.4", + "spatie/crawler": "^5.0", "cweagans/composer-patches": "~1.0" }, "require-dev": {