Skip to content
This repository

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 @@
  1 +language: php
  2 +
  3 +php:
  4 + - 5.3
  5 + - 5.4
  6 +
  7 +before_script:
  8 + - wget http://getcomposer.org/composer.phar -O ./composer.phar
2
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 @@
  1 +language: php
  2 +
  3 +php:
  4 + - 5.3
  5 + - 5.4
  6 +
  7 +before_script:
  8 + - composer install --prefer-source --dev
  9 + - gem install colored -v=1.2
  10 + - cp phpunit.xml.dist phpunit.xml
1
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 @@
  1 +language: php
  2 +
  3 +php:
  4 + - 5.3
  5 + - 5.4
  6 +
  7 +before_script:
  8 + - composer install --prefer-source --dev
  9 + - gem install colored -v=1.2
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

Showing 7 unique commits by 1 author.

Jan 25, 2013
Leander Damme lenada added .travis.yml ae95c18
Leander Damme lenada added build-status image to readme
also triggering travis build ;)
daa77a6
Leander Damme lenada have phpunit.xml in place 60ea3fc
Leander Damme lenada removed c&p mistake 7929425
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
Leander Damme lenada remove cp phpunit.xml.dist
as recent phpunit versions check automatically for phpunit.xml.dist
819a088
Jan 26, 2013
Leander Damme lenada remove junk 2ee9d63
This page is out of date. Refresh to see the latest.

Showing 2 changed files with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. +10 0 .travis.yml
  2. +2 0  README.md
10 .travis.yml
... ... @@ -0,0 +1,10 @@
  1 +language: php
  2 +
  3 +php:
  4 + - 5.3
  5 + - 5.4
  6 +
  7 +before_script:
  8 + - composer install --prefer-source --dev
  9 +
  10 +script: phpunit
2  README.md
Source Rendered
... ... @@ -1,5 +1,7 @@
1 1 # Doctrine Data Fixtures Extension
2 2
  3 +[![Build Status](https://travis-ci.org/doctrine/data-fixtures.png)](https://travis-ci.org/doctrine/data-fixtures)
  4 +
3 5 This extension aims to provide a simple way to manage and execute the loading of data fixtures
4 6 for the Doctrine ORM or ODM. You can write fixture classes by implementing the
5 7 Doctrine\Common\DataFixtures\FixtureInterface interface:

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.