2016-03-15 16:31:20 +01:00
|
|
|
language: php
|
|
|
|
|
|
|
|
sudo: false
|
2012-11-09 12:58:56 +01:00
|
|
|
|
|
|
|
env:
|
2016-03-15 16:31:20 +01:00
|
|
|
global:
|
|
|
|
- CORE_RELEASE=2.4
|
|
|
|
- secure: "DjwZKhY/c0wXppGmd8oEMiTV0ayfOXiCmi9Lg1aXoSXNnj+sjLmhYwhUWjehjR6IX0MRtzJG6v7V5Y+4nSGe+i+XIrBQnhPQ95Jrkm1gKofX2mznWTl9npQElNS1DXi58NLPbiB3qxHWGFBRAWmRQrsAouyZabkPnChnSa9ldOg="
|
|
|
|
- secure: "UmbXCNLK0f2Dk+7qX8bOVcgIt4QhRvccoWvMUxaPtIU+95HCbG10eeCxvfOeBax+tHcRXmeCG4vM4tcuT/WoANkAma/VX74DylFjbWhks2tsKOcr2kjTrOwe6Q9CXOBjVAlcx0lnV/a+w83KARjXGnCrIbE7p7r4EDw31rkVufg="
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.3
|
|
|
|
env: DB=MYSQL
|
|
|
|
- php: 5.3
|
|
|
|
env: DB=PGSQL
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=MYSQL
|
|
|
|
- php: 5.5
|
|
|
|
env: DB=MYSQL
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=MYSQL
|
2012-11-09 12:58:56 +01:00
|
|
|
|
|
|
|
before_script:
|
2016-03-15 16:31:20 +01:00
|
|
|
- composer self-update || true
|
2012-11-09 12:58:56 +01:00
|
|
|
- phpenv rehash
|
2013-03-28 21:25:51 +01:00
|
|
|
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
|
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
2012-11-09 12:58:56 +01:00
|
|
|
- cd ~/builds/ss
|
|
|
|
|
2016-03-15 16:31:20 +01:00
|
|
|
script:
|
2014-04-17 15:14:51 +02:00
|
|
|
- vendor/bin/phpunit sapphire/tests
|
2012-11-09 12:58:56 +01:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- 2.1
|
|
|
|
- 2.2
|
|
|
|
- 2.3
|
2016-03-15 16:31:20 +01:00
|
|
|
- translation-staging
|