Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added Travis-CI #88

Open
wants to merge 7 commits into from

3 participants

Leander Damme Joseph Bielawski Christophe Coevoet
Leander Damme

Thought it would be nice to have travis.
testReferenceReconstruction is failing at the moment

.travis.yml
@@ -0,0 +1,14 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - wget http://getcomposer.org/composer.phar -O ./composer.phar
Joseph Bielawski
stloyd added a note

Composer is available at Travis-CI. Use simply composer install --dev and use --prefer-source as this allows to skip GH limits.

Leander Damme
lenada added a note

good point to use the preinstalled composer on travis (although it has not been updated for a while)
I have also run into GH limits with using --prefer-source. So does it really make a difference compared to --prefer-dist, limit-wise ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Leander Damme lenada use travis composer and prefer source to not run into GH limit
do what @stloyd says:
"Composer is available at Travis-CI. Use simply composer install --dev and use --prefer-source as this allows to skip GH limits."
8a94b71
.travis.yml
@@ -0,0 +1,12 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - composer install --prefer-source --dev
+ - gem install colored -v=1.2
+ - cp phpunit.xml.dist phpunit.xml
Joseph Bielawski
stloyd added a note

IIRC there is no need for this, as from some version, phpunit by default looks for phpunit.xml.dist file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Leander Damme lenada remove cp phpunit.xml.dist
as recent phpunit versions check automatically for phpunit.xml.dist
819a088
.travis.yml
@@ -0,0 +1,11 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - composer install --prefer-source --dev
+ - gem install colored -v=1.2
Christophe Coevoet Collaborator
stof added a note

why this gem ?

Leander Damme
lenada added a note

yeah good question ;) it does not make any sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 25, 2013
  1. Leander Damme

    added .travis.yml

    lenada authored
  2. Leander Damme

    added build-status image to readme

    lenada authored
    also triggering travis build ;)
  3. Leander Damme

    have phpunit.xml in place

    lenada authored
  4. Leander Damme

    removed c&p mistake

    lenada authored
  5. Leander Damme

    use travis composer and prefer source to not run into GH limit

    lenada authored
    do what @stloyd says:
    "Composer is available at Travis-CI. Use simply composer install --dev and use --prefer-source as this allows to skip GH limits."
  6. Leander Damme

    remove cp phpunit.xml.dist

    lenada authored
    as recent phpunit versions check automatically for phpunit.xml.dist
Commits on Jan 26, 2013
  1. Leander Damme

    remove junk

    lenada authored
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 0 deletions.
  1. +10 −0 .travis.yml
  2. +2 −0  README.md
10 .travis.yml
View
@@ -0,0 +1,10 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - composer install --prefer-source --dev
+
+script: phpunit
2  README.md
View
@@ -1,5 +1,7 @@
# Doctrine Data Fixtures Extension
+[![Build Status](https://travis-ci.org/doctrine/data-fixtures.png)](https://travis-ci.org/doctrine/data-fixtures)
+
This extension aims to provide a simple way to manage and execute the loading of data fixtures
for the Doctrine ORM or ODM. You can write fixture classes by implementing the
Doctrine\Common\DataFixtures\FixtureInterface interface:
Something went wrong with that request. Please try again.