2019-07-23 15:36:05 +02:00
|
|
|
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
|
2013-03-28 11:21:32 +01:00
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
language: php
|
|
|
|
|
2019-07-23 15:36:05 +02:00
|
|
|
dist: trusty
|
2012-10-02 21:34:53 +02:00
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-07-23 15:36:05 +02:00
|
|
|
- php: '7.1'
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.1'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.2'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
|
|
|
- php: '7.3'
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.7
|
2015-10-30 05:59:48 +01:00
|
|
|
|
2012-10-02 21:34:53 +02:00
|
|
|
before_script:
|
|
|
|
- phpenv rehash
|
2019-07-23 15:36:05 +02:00
|
|
|
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
2013-03-29 09:18:44 +01:00
|
|
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
|
2012-10-02 21:34:53 +02:00
|
|
|
- cd ~/builds/ss
|
|
|
|
|
2015-10-30 05:59:48 +01:00
|
|
|
script:
|
2019-07-23 15:36:05 +02:00
|
|
|
- vendor/bin/phpunit translatable/tests
|
|
|
|
- vendor/bin/phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable
|