Permalink
Browse files

[Travis] Use the new test-runner for Travis

  • Loading branch information...
1 parent 5e0ae8d commit 192cee1d246b13241534c2d34fdd35144f57c5b7 @Maks3w Maks3w committed Jun 1, 2012
View
6 .travis.yml
@@ -5,9 +5,11 @@ php:
- 5.3
- 5.4
-before_install: cp tests/TravisTestConfiguration.php tests/TestConfiguration.php
+before_install:
+ - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
-script: ./.travis/run-tests.sh
+script:
+ - php ./tests/run-tests.php
notifications:
irc: "irc.freenode.org#zftalk.2"
View
14 .travis/run-tests.sh
@@ -1,14 +0,0 @@
-#!/bin/bash
-travisdir=$(dirname "$0")
-testdir="$travisdir/../tests"
-testedcomponents=(`cat "$travisdir/tested-components"`)
-result=0
-
-for tested in "${testedcomponents[@]}"
- do
- echo "$tested:"
- phpunit -c $testdir/phpunit.xml.dist $testdir/$tested
- result=$(($result || $?))
-done
-
-exit $result
View
7 .travis/skipped-components
@@ -1,7 +0,0 @@
-Zend/Amf
-Zend/Date
-Zend/Dojo
-Zend/Queue
-Zend/Service
-Zend/Test
-Zend/Wildfire
View
61 .travis/tested-components
@@ -1,61 +0,0 @@
-Zend/Acl
-Zend/Authentication
-Zend/Barcode
-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/Feed
-Zend/File
-Zend/Filter
-Zend/Form
-Zend/GData
-Zend/Http
-Zend/InfoCard
-Zend/InputFilter
-Zend/Json
-Zend/Ldap
-Zend/Loader
-Zend/Locale
-Zend/Log
-Zend/Mail
-Zend/Markup
-Zend/Math
-Zend/Measure
-Zend/Memory
-Zend/Mime
-Zend/ModuleManager
-Zend/Mvc
-Zend/Navigation
-Zend/OAuth
-Zend/OpenId
-Zend/Paginator
-Zend/Pdf
-Zend/ProgressBar
-Zend/RegistryTest.php
-Zend/Rest
-Zend/Search
-Zend/Serializer
-Zend/Server
-Zend/Session
-Zend/Soap
-Zend/Stdlib
-Zend/Tag
-Zend/Text
-Zend/TimeSync
-Zend/Translator
-Zend/Uri
-Zend/Validator
-Zend/VersionTest.php
-Zend/View
-Zend/XmlRpc
View
0 tests/TravisTestConfiguration.php → tests/TestConfiguration.php.travis
File renamed without changes.

0 comments on commit 192cee1

Please sign in to comment.