Moved API tests back to composer ci command

This commit is contained in:
Alejandro Celaya
2020-09-23 07:49:59 +02:00
parent 641f35ae05
commit aa0124f4e9
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ before_script:
- export DOCKERFILE_CHANGED=$(git diff ${TRAVIS_COMMIT_RANGE:-origin/main} --name-only | grep Dockerfile)
script:
- bin/test/run-api-tests.sh --coverage-php build/coverage-api.cov && composer ci
- composer ci
- if [[ ! -z "${DOCKERFILE_CHANGED}" && "${TRAVIS_PHP_VERSION}" == "7.4" ]]; then docker build -t shlink-docker-image:temp . ; fi
after_success: