Feature/travis ci setup #1008

Merged
merged 9 commits into from Apr 9, 2012
View
@@ -0,0 +1,9 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
@sasezaki
sasezaki Apr 4, 2012 Contributor

require supported minimal version (5.3.3)

@Ocramius
Ocramius Apr 4, 2012 Member

Can I just write 5.3.3 along with 5.3 (add a version to be able to also always test latest stable 5.3)?

@sasezaki
sasezaki Apr 5, 2012 Contributor

oh, sorry. I had thought Travis could be specified each minimal version.

@Ocramius
Ocramius Apr 5, 2012 Member

In fact, but it only supports 5.3.2 and 5.3.8 minor versions of 5.3.

+before_install: cp tests/TravisTestConfiguration.php tests/TestConfiguration.php
+
+script: ./.travis/run-tests.sh
View
@@ -0,0 +1,14 @@
+#!/bin/bash
+travisdir=$(dirname $(readlink /proc/$$/fd/255))
+testdir="$travisdir/../tests"
+testedcomponents=(`cat "$travisdir/tested-components"`)
+result=0
+
+for tested in "${testedcomponents[@]}"
+ do
+ echo "$tested:"
+ phpunit -c $testdir/phpunit.xml $testdir/$tested
+ let "result = $result || $?"
+done
+
+exit $result
@@ -0,0 +1,11 @@
+Zend/Amf
+Zend/Barcode
+Zend/Date
+Zend/Feed
+Zend/Paginator
+Zend/Queue
+Zend/Service
+Zend/Session
+Zend/Test
+Zend/Translator
+Zend/Wildfire
@@ -0,0 +1,54 @@
+Zend/Acl
+Zend/Authentication
+Zend/Cache
+Zend/Captcha
+Zend/Cloud
+Zend/Code
+Zend/Config
+Zend/Console
+Zend/Crypt
+Zend/Currency
+Zend/Db
+Zend/Di
+Zend/Docbook
+Zend/Dojo
+Zend/Dom
+Zend/EventManager
+Zend/File
+Zend/Filter
+Zend/Form
+Zend/GData
+Zend/Http
+Zend/InfoCard
+Zend/Json
+Zend/Ldap
+Zend/Loader
+Zend/Locale
+Zend/Log
+Zend/Mail
+Zend/Markup
+Zend/Measure
+Zend/Memory
+Zend/Mime
+Zend/Module
+Zend/Mvc
+Zend/Navigation
+Zend/OAuth
+Zend/OpenId
+Zend/Pdf
+Zend/ProgressBar
+Zend/RegistryTest.php
+Zend/Rest
+Zend/Search
+Zend/Serializer
+Zend/Server
+Zend/Soap
+Zend/Stdlib
+Zend/Tag
+Zend/Text
+Zend/TimeSync
+Zend/Uri
+Zend/Validator
+Zend/VersionTest.php
+Zend/View
+Zend/XmlRpc
View
@@ -1,5 +1,7 @@
### Welcome to the *Zend Framework 2.0.0* Release!
+Master: [![Build Status](https://secure.travis-ci.org/zendframework/zf2.png?branch=master)](http://travis-ci.org/zendframework/zf2)
+
## RELEASE INFORMATION
*Zend Framework 2.0.0beta3*
Oops, something went wrong.