mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
07937a20f9
Exclude 'Version' from createTranslation(): Causes inconsistencies in Versioned->augmentWrite() because it doesn't write a SiteTree_versions record, since the Version is already set on the record. In fact, its just copied from the original record, so there's no SiteTree_versions row correlating to this new record yet.
26 lines
676 B
YAML
26 lines
676 B
YAML
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
language: php
|
|
php:
|
|
- 5.3
|
|
|
|
env:
|
|
- DB=MYSQL CORE_RELEASE=master
|
|
- DB=PGSQL CORE_RELEASE=master
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.4
|
|
env: DB=MYSQL CORE_RELEASE=master
|
|
|
|
before_script:
|
|
- pear -q install --onlyreqdeps pear/PHP_CodeSniffer
|
|
- 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:
|
|
- phpunit translatable/tests/
|
|
- phpcs --encoding=utf-8 --tab-width=4 --standard=translatable/tests/phpcs -np translatable
|