Skip to content

Commit

Permalink
DIAM-1019 Migrate travis builds to container based infrastructure and…
Browse files Browse the repository at this point in the history
… optimize it
  • Loading branch information
Vladimir Polischuk committed Aug 4, 2015
1 parent 053e965 commit e64a160
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@ php:
- 7.0
- hhvm

sudo: false

branches:
only:
- master

env:
- SYMFONY_VERSION=2.3.*

matrix:
allow_failures:
- php: 7.0
- php: hhvm

before_script:
before_install:
- if [[ "$TRAVIS_PHP_VERSION" = "hhvm" ]]; then cat travis.php.ini >> /etc/hhvm/php.ini ; fi
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-add travis.php.ini ; fi
- composer self-update
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist --dev -vvv

script: phpunit
install:
- composer install --prefer-source --profile

0 comments on commit e64a160

Please sign in to comment.