Skip to content

Commit 407f6b6

Browse files
committedFeb 24, 2017
build: Simplify Travis configuration
* Remove redundant 'group: edge'. Use the default (stable) instead. * Use simplified syntax for apt packages. On sudo-enabled VMs, like we use now, this translates to the same command. But has the benefit of being compatible with the fast non-sudo containers, which we want to use in the future. But, for that, djvulibre-bin needs to be approved first. <travis-ci/apt-package-safelist#4036> Bug: T75176 Change-Id: I3b42763ef3f8f08eec08a9008e5cf1e161bb1dff
1 parent bcd1419 commit 407f6b6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎.travis.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ language: php
1111
# - Package 'djvulibre-bin' is not yet whitelisted for trusty containers.
1212
# https://github.com/travis-ci/apt-package-whitelist/issues/4036
1313
sudo: required
14-
group: edge
1514
# Use Trusty instead of Travis default (precise)
1615
# - Required in order to use HHVM 3.6 or higher.
1716
# - Required for non-buggy xml library for XmlTypeCheck/UploadBaseTest (T75176).
@@ -45,9 +44,11 @@ branches:
4544
- master
4645
- /^travis-ci\/.*$/
4746

48-
before_install:
49-
- sudo apt-get install -qq djvulibre-bin tidy
50-
- composer self-update --quiet --no-interaction
47+
addons:
48+
apt:
49+
packages:
50+
- djvulibre-bin
51+
- tidy
5152

5253
before_script:
5354
- composer install --prefer-source --quiet --no-interaction

0 commit comments

Comments
 (0)
Please sign in to comment.