From 9a95e58d6e6f22d14d0d38411a5927439227a523 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 29 Mar 2013 10:12:03 +0100 Subject: [PATCH 1/2] Travis support --- .travis.yml | 17 +++++++++++++++++ README.md | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..401a389 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details + +language: php +php: + - 5.3 + +env: + - DB=MYSQL CORE_RELEASE=3.0 + - DB=PGSQL CORE_RELEASE=3.0 + +before_script: + - 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 googlesitemaps/tests/ \ No newline at end of file diff --git a/README.md b/README.md index ec13ad4..ca74073 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Google Sitemaps Module +[![Build Status](https://secure.travis-ci.org/silverstripe-labs/silverstripe-googlesitemaps.png?branch=1.0)](http://travis-ci.org/silverstripe-labs/silverstripe-googlesitemaps) + ## Maintainer Contact * Will Rossiter (Nickname: wrossiter, willr) From 729311249cc4d96df03d39aa825381893a01d581 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Wed, 7 Mar 2018 11:23:19 +0000 Subject: [PATCH 2/2] get tests running --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 401a389..7c5c02d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details -language: php +language: php + +dist: precise + php: - 5.3 @@ -14,4 +17,4 @@ before_script: - cd ~/builds/ss script: - - phpunit googlesitemaps/tests/ \ No newline at end of file + - phpunit googlesitemaps/tests/