1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Install libevent-dev on Travis and enable 7.2

This commit is contained in:
Niklas Keller 2017-09-17 11:38:16 +02:00
parent f6e41c514f
commit ba0348863d

View File

@ -1,14 +1,25 @@
sudo: false
sudo: required
language: php
addons:
apt:
packages:
- libevent-dev
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
install:
- php -r 'exit((int) (PHP_MAJOR_VERSION < 7));' || (yes "" | pecl install "channel://pecl.php.net/libevent-0.1.0")
- php -r 'exit((int) (PHP_MAJOR_VERSION < 7));' || (yes "" | pecl install ev)