8000 Add debug · symfony/symfony@9765c31 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9765c31

Browse files
committed
Add debug
1 parent 354112a commit 9765c31

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ services:
5050
- redis-server
5151

5252
before_install:
53-
- pwd; ls -al; ls -al .github;
53+
- ls -al .github;
5454
- stty cols 120
5555
- mkdir /tmp/slapd
5656
- slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
5757
- PHP=$TRAVIS_PHP_VERSION
5858
# Matrix lines for intermediate PHP versions are skipped for pull requests
5959
- if [[ ! $deps && ! $PHP = ${MIN_PHP%.*} && ! $PHP = hhvm* && $TRAVIS_PULL_REQUEST != false ]]; then deps=skip; skip=1; fi
6060
# A sigchild-enabled-PHP is used to test the Process component on the lowest PHP matrix line
61+
- ls -al .github;
6162
- if [[ ! $deps && $PHP = ${MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then wget http://museum.php.net/php5/php-$MIN_PHP.tar.bz2 -O - | tar -xj; (cd php-$MIN_PHP; ./configure --enable-sigchild --enable-pcntl; make -j2); fi
6263
- if [[ ! $PHP = hhvm* ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; 10000 fi
6364
- if [[ ! $skip ]]; then echo date.timezone = Europe/Paris >> $INI_FILE; fi
@@ -74,29 +75,38 @@ before_install:
7475
- if [[ ! $skip && ! $PHP = hhvm* ]]; then echo extension = ldap.so >> $INI_FILE; fi
7576
- if [[ ! $skip && ! $PHP = hhvm* ]]; then echo extension = redis.so >> $INI_FILE; fi;
7677
- if [[ ! $skip && ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
78+
- ls -al .github;
7779
- if [[ ! $skip ]]; then [ -d ~/.composer ] || mkdir ~/.composer; cp .composer/* ~/.composer/; fi
7880
- if [[ ! $skip ]]; then export PHPUNIT=$(readlink -f ./phpunit); fi
7981
- if [[ ! $skip ]]; then ldapadd -h localhost:3389 -D cn=admin,dc=symfony,dc=com -w symfony -f src/Symfony/Component/Ldap/Tests/Fixtures/data/base.ldif; fi
8082
- if [[ ! $skip ]]; then ldapadd -h localhost:3389 -D cn=admin,dc=symfony,dc=com -w symfony -f src/Symfony/Component/Ldap/Tests/Fixtures/data/fixtures.ldif; fi
83+
- ls -al .github;
8184

8285
install:
86+
- ls -al .github;
8387
- if [[ ! $skip && $deps ]]; then cp composer.json composer.json.orig; fi
8488
- if [[ ! $skip && $deps ]]; then echo -e '{\n"require":{'"$(grep phpunit-bridge composer.json)"'"php":"*"},"minimum-stability":"dev"}' > composer.json; fi
89+
- ls -al .github;
8590
- if [[ ! $skip ]]; then COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n'); fi
8691
# Create local composer packages for each patched components and reference them in composer.json files when cross-testing components
92+
- ls -al .github;
8793
- if [[ ! $skip && $deps ]]; then php .github/build-packages.php HEAD^ $COMPONENTS; fi
8894
- if [[ ! $skip && $deps ]]; then mv composer.json composer.json.phpunit; mv composer.json.orig composer.json; fi
8995
- if [[ ! $skip && ! $deps ]]; then php .github/build-packages.php HEAD^ src/Symfony/Bridge/PhpUnit; fi
96+
- ls -al .github;
9097
# For the master branch when deps=high, the version before master is checked out and tested with the locally patched components
9198
- if [[ $deps = high && $TRAVIS_BRANCH = master ]]; then SYMFONY_VERSION=$(git ls-remote --heads | grep -o '/[1-9].*' | tail -n 1 | sed s/.//); else SYMFONY_VERSION=$(cat composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*'); fi
9299
- if [[ $deps = high && $TRAVIS_BRANCH = master ]]; then git fetch origin $SYMFONY_VERSION; git checkout -m FETCH_HEAD; COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n'); fi
100+
- ls -al .github;
93101
# Legacy tests are skipped when deps=high and when the current branch version has not the same major version number than the next one
94102
- if [[ $deps = high && ${SYMFONY_VERSION%.*} != $(git show $(git ls-remote --heads | grep -FA1 /$SYMFONY_VERSION | tail -n 1):composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9]*' | head -n 1) ]]; then LEGACY=,legacy; fi
95103
- export COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev
96104
- if [[ ! $skip && $deps ]]; then export SYMFONY_DEPRECATIONS_HELPER=weak; fi
105+
- ls -al .github;
97106
- if [[ ! $skip && $deps ]]; then mv composer.json.phpunit composer.json; fi
98107
- if [[ ! $skip ]]; then composer update; fi
99108
- if [[ ! $skip ]]; then ./phpunit install; fi
109+
- ls -al .github;
100110
- if [[ ! $skip && ! $PHP = hhvm* ]]; then php -i; else hhvm --php -r 'print_r($_SERVER);print_r(ini_get_all());'; fi
101111
- if [[ $IMAGE_DRIVER = imagick ]]; then pwd; ls -al; ls -al .github; .github/imagick.sh $INI_FILE; fi
102112
- if [[ $IMAGE_DRIVER = gmagick ]]; then pwd; ls -al; ls -al .github; .github/gmagick.sh $TRAVIS_PHP_VERSION $INI_FILE; fi

0 commit comments

Comments
 (0)
0