File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 5.3
54 - 5.4
65 - 5.5
76 - 5.6
1413
1514matrix :
1615 include :
17- - php : hhvm
18- dist : trusty
1916 - php : 5.5
2017 env : VARNISH_VERSION=3.0
21- - php : 5.3
18+ - php : 5.4
2219 env : SYMFONY_VERSION=2.3.* VARNISH_VERSION=4.0 COMPOSER_FLAGS="--prefer-lowest"
2320
2421branches :
@@ -32,11 +29,13 @@ before_script:
3229 - composer update $COMPOSER_FLAGS --dev --prefer-source --no-interaction
3330 - bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi"
3431 # Install Varnish
35- - curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
36- - echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-${VARNISH_VERSION}" | sudo tee -a /etc/apt/sources.list
37- - sudo apt-get update -qq
38- - sudo apt-get install -qq varnish python-sphinx enchant
39- - sudo pip install -r doc/requirements.txt
32+ - |
33+ set -e
34+ curl -L https://packagecloud.io/varnishcache/varnish${VARNISH_VERSION//./}/gpgkey | sudo apt-key add -
35+ curl -L "https://packagecloud.io/install/repositories/varnishcache/varnish${VARNISH_VERSION//./}/config_file.list?os=ubuntu&dist=trusty&source=script" | sudo tee -a /etc/apt/sources.list
36+ cat /etc/apt/sources.list
37+ sudo apt-get update -qq
38+ sudo apt-get install -qq varnish
4039 # Install NGINX
4140 - sh ./tests/install-nginx.sh
4241 # Starting webserver
@@ -46,8 +45,6 @@ before_script:
4645script :
4746 - bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then php phpunit-5.7.phar --coverage-clover=coverage.clover; fi"
4847 - sh -c "if [ '$TRAVIS_PHP_VERSION' \< '7' ]; then phpunit --coverage-clover=coverage.clover; fi"
49- - make -C doc SPHINXOPTS='-nW' html
50- - make -C doc spelling
5148
5249after_script :
5350 - wget https://scrutinizer-ci.com/ocular.phar
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function stop()
6767 // Ignore if command fails when Varnish wasn't running
6868 }
6969 unlink ($ this ->pid );
70- $ this ->waitUntil ($ this ->ip , $ this ->getPort (), 2000 );
70+ $ this ->waitUntil ($ this ->ip , $ this ->getPort (), 8000 );
7171 }
7272 }
7373
You can’t perform that action at this time.
0 commit comments