From 5aa7f3436c809b140961b52c1a77b76107850d45 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Fri, 23 Nov 2012 11:51:34 +0100 Subject: [PATCH 1/2] Added Travis to the project --- .travis.yml | 13 +++++++++++++ unitTests/bootstrap.php | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..532f051 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: php + +php: + - 5.2 + - 5.3.3 + - 5.3 + - 5.4 + +script: + - phpunit -c ./unitTests/ + +notifications: + email: false diff --git a/unitTests/bootstrap.php b/unitTests/bootstrap.php index a502c17..6fe28c8 100644 --- a/unitTests/bootstrap.php +++ b/unitTests/bootstrap.php @@ -8,6 +8,8 @@ * @author Mark Baker */ +chdir(dirname(__FILE__)); + // PHP 5.3 Compat date_default_timezone_set('Europe/London'); From 4ca486b1e2da235992fd6f9c455fecb4c7a01a00 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Fri, 23 Nov 2012 11:58:29 +0100 Subject: [PATCH 2/2] Added build status info --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index baa9830..a678ca1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # PHPExcel - OpenXML - Read, Write and Create spreadsheet documents in PHP - Spreadsheet engine PHPExcel is a library written in pure PHP and providing a set of classes that allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP. +Master: [![Build Status](https://secure.travis-ci.org/PHPOffice/PHPExcel.png?branch=master)](http://travis-ci.org/PHPOffice/PHPExcel) +Develop: [![Build Status](https://secure.travis-ci.org/PHPOffice/PHPExcel.png?branch=develop)](http://travis-ci.org/PHPOffice/PHPExcel) ## File Formats supported @@ -33,4 +35,4 @@ PHPExcel is a library written in pure PHP and providing a set of classes that al Fork us! ## License -PHPExcel is licensed under [LGPL (GNU LESSER GENERAL PUBLIC LICENSE)](https://github.com/PHPOffice/PHPExcel/blob/master/license.md) \ No newline at end of file +PHPExcel is licensed under [LGPL (GNU LESSER GENERAL PUBLIC LICENSE)](https://github.com/PHPOffice/PHPExcel/blob/master/license.md)