silverstripe-postgresql/.travis.yml
Ingo Schommer 132c31bc80 Testing in PHP7
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)
2017-06-27 15:58:40 +12:00

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