mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Attempt at moving away from silverstripe/silverstripe-travis-support
This commit is contained in:
parent
7e8cdd9c2b
commit
710b94e25b
16
.travis.yml
16
.travis.yml
@ -16,9 +16,17 @@ matrix:
|
|||||||
env: DB=SQLITE3 CORE_RELEASE=4.0
|
env: DB=SQLITE3 CORE_RELEASE=4.0
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
|
# Init PHP
|
||||||
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require phpunit/php-file-iterator:1.3.4
|
- composer self-update || true
|
||||||
- cd ~/builds/ss
|
- phpenv rehash
|
||||||
|
- phpenv config-rm xdebug.ini
|
||||||
|
|
||||||
|
# Install composer dependencies
|
||||||
|
- composer validate
|
||||||
|
- composer require --no-update silverstripe/recipe-framework:1.0.x-dev
|
||||||
|
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.0.x-dev --prefer-dist; fi
|
||||||
|
- if [[ $DB == SQLITE ]]; then composer require silverstripe/sqlite3:2.1.x-dev --prefer-dist; fi
|
||||||
|
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit vendor/undefinedoffset/sortablegridfield/tests
|
- vendor/bin/phpunit
|
5
phpunit.xml.dist
Normal file
5
phpunit.xml.dist
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
|
||||||
|
<testsuite name="Default">
|
||||||
|
<directory>tests/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</phpunit>
|
Loading…
Reference in New Issue
Block a user