diff --git a/.travis.yml b/.travis.yml new file mode 100755 index 0000000..a64f79b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ + language: php + php: + - 5.3 + + env: + matrix: + - DB=MYSQL CORE_RELEASE=3.1 + - DB=MYSQL CORE_RELEASE=master + + matrix: + include: + - php: 5.4 + 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 silverstripe-blog/tests/ \ No newline at end of file