From dcdbadc7168cf6eb292e728f772369076236f482 Mon Sep 17 00:00:00 2001 From: madmatt Date: Wed, 18 Jun 2014 13:20:24 +1200 Subject: [PATCH] MINOR: Add https://travis-ci.org/ support to testsession --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .travis.yml 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