Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (24 sloc) 860 Bytes
language: php
dist: precise
sudo: false
php:
- 5.6
env:
global:
- DB="PGSQL"
- CORE_RELEASE="4"
before_script:
# Init PHP
- printf "\n" | pecl install imagick
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Temporarily update to 1.5.x-dev of composer
- composer self-update --snapshot
# Install composer dependencies
- composer install --prefer-dist
- composer require --prefer-dist --no-update symfony/config:^3.2 silverstripe/framework:4.0.x-dev silverstripe/cms:4.0.x-dev silverstripe/siteconfig:4.0.x-dev silverstripe/config:1.0.x-dev silverstripe/admin:1.0.x-dev silverstripe/assets:1.0.x-dev silverstripe/versioned:1.0.x-dev
- composer update
script:
- vendor/bin/phpunit ./tests
- vendor/bin/phpunit ./framework/tests