Skip to content

Commit

Permalink
Added the Travis CI configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jul 8, 2015
1 parent 73a8665 commit 54c328b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: php
sudo: false

env:
global:
- deps="no"
- SYMFONY_VERSION=""

matrix:
fast_finish: true
include:
- php: 5.3
- php: 5.3
env: deps="low"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.6
env: SYMFONY_VERSION="2.3.x"
- php: 5.6
env: SYMFONY_VERSION="2.6.x"
- php: 5.6
env: SYMFONY_VERSION="2.7.x"
- php: 5.6
env: SYMFONY_VERSION="2.8.x-dev"
- php: hhvm
- php: nightly
allow_failures:
- php: hhvm
- php: nightly
- env: SYMFONY_VERSION="2.7.x-dev"
- env: SYMFONY_VERSION="2.8.x-dev"

before_install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony:$SYMFONY_VERSION; fi

install:
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; fi
- if [ "$deps" != "low" ]; then composer install; fi

script:
- phpunit -c app

0 comments on commit 54c328b

Please sign in to comment.