Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
added symfony versions to build project
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsTaFFix committed Jul 7, 2016
1 parent 2df8937 commit 40e9316
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ php:
- 5.5
- 5.6

env:
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=2.8.*

services:
- mongodb

before_script:
- echo "extension=mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- curl -s http://getcomposer.org/installer | php
- composer require symfony/symfony:${SYMFONY_VERSION}
- php -d memory_limit=-1 composer.phar install
- php Tests/app/console generate:rest:controller -t --controller TestTestBundle:MyCar --entity TestTestBundle:Car
- php Tests/app/console generate:rest:controller -t --controller TestTestBundle:MyCarOwner --entity TestTestBundle:CarOwner
Expand Down

0 comments on commit 40e9316

Please sign in to comment.