Skip to content

Commit

Permalink
FIX: Attempt #N at getting travis config right.
Browse files Browse the repository at this point in the history
  • Loading branch information
phptek committed Apr 30, 2018
1 parent 3b33b96 commit 1729fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ matrix:

before_script:
- composer self-update || true
- composer require --no-update silverstripe/recipe-cms:1.0.x-dev
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

script:
- vendor/bin/phpunit --testsuite jsontext
- vendor/bin/phpunit jsontext

branches:
only:
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/php/MyAwesomeJSONPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use PhpTek\JSONText\ORM\FieldType\JSONText;
use SilverStripe\Dev\TestOnly;
use Page;
use SilverStripe\CMS\Model\SiteTree;

/**
* @package silverstripe-jsontext
*/
class MyAwesomeJSONPage extends Page implements TestOnly
class MyAwesomeJSONPage extends SiteTree implements TestOnly
{
private static $db = [
'MyJSON' => JSONText::class
Expand Down

0 comments on commit 1729fe1

Please sign in to comment.