diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..679e472 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: php +php: + - 5.3 + +env: + - DB=MYSQL CORE_RELEASE=3.0 + - DB=MYSQL CORE_RELEASE=3.1 + - DB=PGSQL CORE_RELEASE=3.0 + - DB=PGSQL CORE_RELEASE=3.1 + - DB=SQLITE3 CORE_RELEASE=3.0 + - DB=SQLITE3 CORE_RELEASE=3.1 + +before_script: + - 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 sortablegridfield/tests/ \ No newline at end of file diff --git a/README.md b/README.md index 0bc356c..0eaae3c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ SortableGridField ================= +[![Build Status](https://travis-ci.org/UndefinedOffset/SortableGridField.png)](https://travis-ci.org/UndefinedOffset/SortableGridField) Adds drag and drop functionality to SilverStripe 3's GridField