10000 switch to new varnish debian repository by dbu · Pull Request #375 · FriendsOfSymfony/FOSHttpCache · GitHub
[go: up one dir, main page]

Skip to content

switch to new varnish debian repository #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ php:
- 7.2

env:
- VARNISH_VERSION=5.0.0
- VARNISH_VERSION=5.0

matrix:
include:
- php: 5.6
env: SYMFONY_VERSION=2.7.* VARNISH_VERSION=3.0 COMPOSER_FLAGS="--prefer-lowest"
- php: 7.0
env:
- VARNISH_VERSION=4.1
- VARNISH_VERSION=41
- DOCCHECK=true

branches:
Expand All @@ -36,18 +36,11 @@ before_script:
# Install Varnish
- |
set -e
if [ "$VARNISH_VERSION" = "5.0.0" ]; then
wget https://repo.varnish-cache.org/pkg/${VARNISH_VERSION}/varnish_${VARNISH_VERSION}-1_amd64.deb
sudo apt-get install -qq libjemalloc1
sudo dpkg -i varnish_${VARNISH_VERSION}-1_amd64.deb
sudo apt-get update -qq
sudo apt-get -f install
else
curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-${VARNISH_VERSION}" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -qq
sudo apt-get install -qq varnish
fi
curl -L https://packagecloud.io/varnishcache/varnish${VARNISH_VERSION//./}/gpgkey | sudo apt-key add -
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
cat /etc/apt/sources.list
sudo apt-get update -qq
sudo apt-get install -qq varnish
- if [ "$DOCCHECK" = true ]; then sudo apt-get install -qq python-sphinx enchant; fi
- if [ "$DOCCHECK" = true ]; then sudo pip install -r doc/requirements.txt; fi
# Install NGINX
Expand Down
0