From 58785e22f387999c7a6cd1803afb4f508451627f Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Tue, 30 Oct 2018 19:01:26 +0100 Subject: [PATCH] Adapted execute paths --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index c78443e..5d5b010 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,13 @@ language: php -# Handle git submodules yourself git: submodules: false -# Use sed to replace the SSH URL with the public URL, then initialize submodules before_install: - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules - git submodule update --init --recursive before_script: - - travis_retry composer self-update - - travis_retry composer install --no-interaction --prefer-source --dev + - travis_retry (cd application && composer self-update) + - travis_retry (cd application && composer install --no-interaction --prefer-source --dev) script: - - vendor/bin/phpunit --coverage-clover=coverage.xml + - application/vendor/bin/phpunit --coverage-clover=coverage.xml after_success: -- bash <(curl -s https://codecov.io/bash) +- (cd application && bash <(curl -s https://codecov.io/bash))