mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
132c31bc80
Now that we have support for PHP7 in SS 3.x, we should test the Postgres module against it. I've set up the tests to run weekly on this branch (and master) via TravisCI new cron job feature. While we have a nightly "all modules" run in silverstripe-installer, it doesn't have the same matrix coverage as this run here. I've also removed removed tests against older (and unsupported) 3.x releases (it was testing against 3.2)
23 lines
520 B
YAML
23 lines
520 B
YAML
language: php
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.3
|
|
env: DB=POSTGRESQL CORE_RELEASE=3.4
|
|
- php: 5.6
|
|
env: DB=POSTGRESQL CORE_RELEASE=3
|
|
- php: 7.0
|
|
env: DB=POSTGRESQL CORE_RELEASE=3
|
|
|
|
before_script:
|
|
- composer self-update || true
|
|
- 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
|
|
|
|
script:
|
|
- vendor/bin/phpunit framework/tests
|