Adapted execute paths

This commit is contained in:
Kevin Frantz 2018-10-30 19:01:26 +01:00
parent b41f2c777e
commit 58785e22f3

View File

@ -1,15 +1,13 @@
language: php language: php
# Handle git submodules yourself
git: git:
submodules: false submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install: before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive - git submodule update --init --recursive
before_script: before_script:
- travis_retry composer self-update - travis_retry (cd application && composer self-update)
- travis_retry composer install --no-interaction --prefer-source --dev - travis_retry (cd application && composer install --no-interaction --prefer-source --dev)
script: script:
- vendor/bin/phpunit --coverage-clover=coverage.xml - application/vendor/bin/phpunit --coverage-clover=coverage.xml
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - (cd application && bash <(curl -s https://codecov.io/bash))