# See https://github.com/silverstripe/silverstripe-travis-support for setup details language: php sudo: false env: global: - COMPOSER_ROOT_VERSION=1.0.x-dev - CORE_RELEASE=4 # The path of the module when installed by composer - MODULE_PATH=iframe matrix: fast_finish: true include: - php: 5.6 env: DB=MYSQL - php: 7.0 env: DB=MYSQL - php: 7.1 env: DB=MYSQL before_script: - composer self-update || true - phpenv rehash - phpenv config-rm xdebug.ini - composer validate - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - cd ~/builds/ss - composer install --prefer-dist script: - vendor/bin/phpunit $MODULE_PATH/tests