mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-06-28 15:39:36 +02:00
Update travis
This commit is contained in:
parent
3d50b3f9ec
commit
0480075392
31
.travis.yml
31
.travis.yml
|
@ -4,35 +4,30 @@ dist: xenial
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
-
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache/files
|
- $HOME/.composer/cache/files
|
||||||
|
|
||||||
php:
|
|
||||||
- 7.1
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- DB="PGSQL"
|
- DB=PGSQL
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env:
|
env: RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=postgresql PHPCS_TEST=1
|
||||||
- PHPUNIT_TEST=framework
|
|
||||||
- php: 7.2
|
|
||||||
env:
|
|
||||||
- PHPUNIT_TEST=framework
|
|
||||||
- php: 7.3
|
|
||||||
env:
|
|
||||||
- PHPUNIT_TEST=framework
|
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env:
|
env: RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=framework
|
||||||
- PHPUNIT_TEST=postgresql
|
- php: 7.2
|
||||||
- PHPCS_TEST=1
|
env: RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=framework
|
||||||
|
- php: 7.3
|
||||||
|
env: RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=framework
|
||||||
|
- php: 7.4
|
||||||
|
env: RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=postgresql
|
||||||
|
- php: 7.4
|
||||||
|
env: RECIPE_VERSION=4.x-dev PHPUNIT_TEST=framework
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Init PHP
|
# Init PHP
|
||||||
|
@ -43,7 +38,9 @@ before_script:
|
||||||
|
|
||||||
# Install composer dependencies
|
# Install composer dependencies
|
||||||
- composer validate
|
- composer validate
|
||||||
- composer require --no-update silverstripe/recipe-cms:4.3.x-dev
|
- composer require --no-update silverstripe/recipe-cms:$RECIPE_VERSION
|
||||||
|
# Fix for running phpunit 5 on php 7.4+
|
||||||
|
- composer require --no-update sminnee/phpunit-mock-objects:^3
|
||||||
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||||
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
|
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user