Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 17f2c30

Browse files
aweingartengrasmash
authored andcommitted
Containerize travis builds. (#897)
1 parent 3601f19 commit 17f2c30

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/travis/.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Note that the example .travis.yml file for child projects lives in /install.
2-
sudo: required
2+
sudo: false
33
language: php
44
dist: trusty
55

@@ -25,6 +25,9 @@ cache:
2525
addons:
2626
ssh_known_hosts:
2727
# - svn-4786.devcloud.hosting.acquia.com
28+
apt:
29+
sources:
30+
- xvfb
2831

2932
# @see https://docs.travis-ci.com/user/notifications
3033
notifications:
@@ -56,7 +59,6 @@ install:
5659
# Initialize drupal console default configuration.
5760
- drupal init
5861
# Initialize xvfb (see https://docs.travis-ci.com/user/gui-and-headless-browsers)
59-
- sudo apt-get install xvfb
6062
- export DISPLAY=:99.0
6163
- sh -e /etc/init.d/xvfb start
6264
# Installs chromedriver to vendor/bin.

0 commit comments

Comments
 (0)