Skip to content
Browse files

Updating Travis-Setup to run against symfony 1.2, 1.3 and 1.4

  • Loading branch information...
1 parent ac9c1f3 commit e9bd5d40c9862fc25926426d2566cc5d078c935a @robo47 robo47 committed
Showing with 15 additions and 5 deletions.
  1. +9 −3 .travis.yml
  2. +6 −2 bin/travis-init.sh
View
12 .travis.yml
@@ -13,6 +13,12 @@ script:
- php test/unit/SortableUniqueByTest.php
env:
- - DB=postgre
- - DB=mysql
- - DB=sqlite
+ - DB=postgre SYMFONY_REF=origin/1.4
+ - DB=mysql SYMFONY_REF=origin/1.4
+ - DB=sqlite SYMFONY_REF=origin/1.4
+ - DB=postgre SYMFONY_REF=origin/1.3
+ - DB=mysql SYMFONY_REF=origin/1.3
+ - DB=sqlite SYMFONY_REF=origin/1.3
+ - DB=postgre SYMFONY_REF=origin/1.2
+ - DB=mysql SYMFONY_REF=origin/1.2
+ - DB=sqlite SYMFONY_REF=origin/1.2
View
8 bin/travis-init.sh
@@ -1,4 +1,8 @@
-echo "Cloning symfony"
+echo "Cloning symfony and checking out tag/branch/commit"
git clone git://github.com/symfony/symfony1.git lib/vendor/symfony
-echo "exporting symfony ENV-Variable"
+cd lib/vendor/symfony
+
+git fetch --all
+
+git checkout $SYMFONY_REF

0 comments on commit e9bd5d4

Please sign in to comment.
Something went wrong with that request. Please try again.