silverstripe-postgresql/.travis.yml

35 lines
833 B
YAML
Raw Normal View History

language: php
dist: xenial
2017-07-26 12:55:24 +02:00
sudo: false
2014-02-18 05:52:03 +01:00
services:
- postgresql
matrix:
include:
- php: 5.6
2017-07-26 15:23:02 +02:00
env: DB=PGSQL CORE_RELEASE=3.6
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.7
- php: 7.1
env: DB=PGSQL CORE_RELEASE=3.7
- php: 5.6
2017-07-26 15:23:02 +02:00
env: DB=PGSQL CORE_RELEASE=3
- php: 7.2
2017-07-26 15:23:02 +02:00
env: DB=PGSQL CORE_RELEASE=3
2020-10-21 03:14:43 +02:00
- php: 7.4
env: DB=PGSQL CORE_RELEASE=3 INSTALL_PHPUNIT_FORK=1
2014-02-18 05:52:03 +01:00
before_script:
- composer self-update || true
2020-10-21 03:14:43 +02:00
- if [ $INSTALL_PHPUNIT_FORK ]; then composer require --no-update --dev sminnee/phpunit-mock-objects:^3.4.7; fi
2014-02-18 05:52:03 +01:00
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
2017-07-26 15:23:02 +02:00
script:
2017-07-26 13:10:33 +02:00
- vendor/bin/phpunit framework/tests