From 21791e4114d1ab7af403918703cadd60a6b26431 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 9 Nov 2012 12:58:56 +0100 Subject: [PATCH] Added travis support --- .travis.yml | 28 ++++++++++++++++++++++++ tests/travis/_config.php | 22 +++++++++++++++++++ tests/travis/_manifest_exclude | 0 tests/travis/_ss_environment.php | 37 ++++++++++++++++++++++++++++++++ tests/travis/before_script | 9 ++++++++ 5 files changed, 96 insertions(+) create mode 100644 .travis.yml create mode 100644 tests/travis/_config.php create mode 100644 tests/travis/_manifest_exclude create mode 100644 tests/travis/_ss_environment.php create mode 100755 tests/travis/before_script diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..c4811ab2f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: php +php: + - 5.3 + +env: + - TESTDB=MYSQL + - TESTDB=PGSQL + +before_script: + - phpenv rehash + - ./tests/travis/before_script ~/builds/ss + - cd ~/builds/ss + +script: + - phpunit -c phpunit.xml.dist + +branches: + except: + - 2.1 + - 2.2 + - 2.3 + - post-2.4 + - translation-staging + +notifications: + irc: + channels: + - "irc.freenode.org#silverstripe" \ No newline at end of file diff --git a/tests/travis/_config.php b/tests/travis/_config.php new file mode 100644 index 000000000..7b5da0dc3 --- /dev/null +++ b/tests/travis/_config.php @@ -0,0 +1,22 @@ +