diff --git a/.travis.yml b/.travis.yml index 8365f582..9b1c35e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,7 +46,7 @@ before_script: - export DOCKERFILE_CHANGED=$(git diff ${TRAVIS_COMMIT_RANGE:-origin/master} --name-only | grep Dockerfile) script: - - if [[ "${DOCKER_PUBLISH}" == 'false' ]]; then composer ci ; fi + - if [[ "${DOCKER_PUBLISH}" == 'false' ]]; then bin/test/run-api-tests.sh --coverage-php build/coverage-api.cov && composer ci ; fi - if [[ ! -z "${DOCKERFILE_CHANGED}" && "${TRAVIS_PHP_VERSION}" == "7.4" && "${DOCKER_PUBLISH}" == "false" ]]; then docker build -t shlink-docker-image:temp . ; fi - if [[ "${DOCKER_PUBLISH}" == 'true' ]]; then bash ./docker/build ; fi diff --git a/composer.json b/composer.json index 7ba81442..ef9e0e92 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ "symfony/filesystem": "^5.1", "symfony/lock": "^5.1", "symfony/mercure": "^0.3.0", - "symfony/process": "~5.0.9", + "symfony/process": "^5.1", "symfony/string": "^5.1", "symfony/translation-contracts": "^2.1" }, @@ -112,8 +112,7 @@ ], "test:ci": [ "@test:unit:ci", - "@test:db", - "@test:api:ci" + "@test:db" ], "test:unit": "phpdbg -qrr vendor/bin/phpunit --order-by=random --colors=always --coverage-php build/coverage-unit.cov --testdox", "test:unit:ci": "@test:unit --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml --log-junit=build/junit.xml",