2018-10-30 18:45:43 +01:00
|
|
|
language: php
|
2018-10-30 18:51:21 +01:00
|
|
|
# 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
|
2018-10-30 18:45:43 +01:00
|
|
|
before_script:
|
|
|
|
- travis_retry composer self-update
|
|
|
|
- travis_retry composer install --no-interaction --prefer-source --dev
|
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|