diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..af6313a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +language: php + +php: + - 5.3 + +env: + matrix: + - DB=MYSQL CORE_RELEASE=3.1 + +matrix: + include: + - php: 5.3 + env: DB=PGSQL CORE_RELEASE=3.1 + - php: 5.4 + env: DB=MYSQL CORE_RELEASE=master + - php: 5.5 + env: DB=MYSQL CORE_RELEASE=master + +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 testsession/tests/unit/ \ No newline at end of file