Skip to content

Commit cd0a63d

Browse files
minor symfony#14613 [travis] Use container-based infrastructure (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [travis] Use container-based infrastructure | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Let's see if this works... Commits ------- 2aea3aa [travis] Use container-based infrastructure
2 parents 5c996c4 + 2aea3aa commit cd0a63d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
language: php
22

3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
addons:
10+
apt_packages:
11+
- parallel
12+
- language-pack-fr-base
13+
314
matrix:
415
include:
516
- php: 5.3.3
@@ -26,14 +37,12 @@ env:
2637
- SYMFONY_DEPRECATIONS_HELPER=weak
2738

2839
before_install:
29-
- travis_retry sudo apt-get install parallel
3040
- composer self-update
3141
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
3242
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
3343
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
3444
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then (pecl install -f memcached-2.1.0 && echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without memcache extension"; fi;
3545
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
36-
- sudo locale-gen fr_FR.UTF-8 && sudo update-locale
3746
# Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built
3847
- if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
3948

0 commit comments

Comments
 (0)