silverstripe-iframe/.travis.yml

35 lines
809 B
YAML
Raw Normal View History

# See https://github.com/silverstripe/silverstripe-travis-support for setup details
2015-11-19 02:19:36 +01:00
language: php
sudo: false
2015-10-30 03:20:37 +01:00
env:
global:
- COMPOSER_ROOT_VERSION=1.0.x-dev
- CORE_RELEASE=4
# The path of the module when installed by composer
- MODULE_PATH=iframe
2015-10-30 03:20:37 +01:00
matrix:
fast_finish: true
2015-10-30 03:20:37 +01:00
include:
2015-11-19 02:19:36 +01:00
- php: 5.6
env: DB=MYSQL
- php: 7.0
env: DB=MYSQL
- php: 7.1
env: DB=MYSQL
2015-10-30 03:20:37 +01:00
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
2015-10-30 03:20:37 +01:00
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install --prefer-dist
2015-10-30 03:20:37 +01:00
2015-11-19 02:19:36 +01:00
script:
- vendor/bin/phpunit $MODULE_PATH/tests