diff --git a/.travis.yml b/.travis.yml index c920e8e..c4e5673 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,11 +41,12 @@ install: - composer validate - if [ -z "$dropPlatform" ]; then composer config --unset platform.php; fi; - if [ -z "$dropPlatform" ]; then composer update --lock; fi; - - if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || :; fi; + - if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || echo 'No xdebug config.'; fi; - if [ -z "$dependencies" ]; then composer install --prefer-dist; fi; - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; - composer show + - env ## Run the actual test script: diff --git a/composer.json b/composer.json index 912716a..a66dc80 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,10 @@ "autoload-dev": { "psr-4": { "ApiClients\\Tests\\Tools\\TestUtilities\\": "tests/" - } + }, + "files": [ + "tests/bootstrap.php" + ] }, "scripts": { "post-update-cmd": [ diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 0000000..1ad6524 --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,11 @@ +