Skip to content

Commit bec5e5a

Browse files
committed
Enable container based infrastructure on travis
1 parent 54bf45d commit bec5e5a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ php:
77
- 7.0
88
- hhvm
99

10+
sudo: false
11+
12+
addons:
13+
apt:
14+
packages:
15+
- libevent-dev # Used by 'event' and 'libevent' PHP extensions
16+
1017
install:
1118
- ./travis-init.sh
1219
- composer install

travis-init.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ set -o pipefail
55
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
66
"$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]]; then
77

8-
# install "libevent" (used by 'event' and 'libevent' PHP extensions)
9-
sudo apt-get install -y libevent-dev
10-
118
# install 'event' PHP extension
129
echo "yes" | pecl install event
1310

0 commit comments

Comments
 (0)