mirror of
https://github.com/silverstripe/silverstripe-iframe
synced 2024-10-22 11:05:51 +02:00
5b8e0ba0b1
Implement namespacing Update unit tests
35 lines
809 B
YAML
35 lines
809 B
YAML
# 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
|