lock pacakge version to fix dep breakage

This commit is contained in:
James 2021-02-06 12:01:22 +00:00
parent bea673807c
commit ac9e614086

View File

@ -5,7 +5,7 @@ name: testsuite
steps: steps:
- name: composer install - name: composer install
image: chialab/php image: chialab/php:7.3
commands: commands:
- composer install - composer install
volumes: volumes:
@ -13,21 +13,21 @@ steps:
path: /root/.composer/cache/ path: /root/.composer/cache/
- name: wait for test server - name: wait for test server
image: alpine image: alpine:3.12
commands: commands:
- echo "Waiting for server to launch on testserver:8080..." - echo "Waiting for server to launch on testserver:8080..."
- while ! nc -z testserver 8080; do sleep 0.1 ; done - while ! nc -z testserver 8080; do sleep 0.1 ; done
- echo "Ready!" - echo "Ready!"
- name: run tests - name: run tests
image: chialab/php image: chialab/php:7.3
commands: commands:
- URL=http://testserver:8080 vendor/bin/phpunit tests --testdox --color=always --no-interaction - URL=http://testserver:8080 vendor/bin/phpunit tests --testdox --color=always --no-interaction
services: services:
- name: testserver - name: testserver
image: node image: node:15.2
detach: true detach: true
commands: commands:
- cd tests/server/ - cd tests/server/