Commit 02fc9b35 authored by Frederick Zhang's avatar Frederick Zhang

use travis php image

parent 09d7a573
Pipeline #334 passed with stage
in 45 seconds
dist: trusty dist: trusty
sudo: required sudo: required
language: cpp language: php
addons: addons:
apt: apt:
sources: sources:
- sourceline: 'ppa:ondrej/php'
- sourceline: 'ppa:ubuntu-toolchain-r/test' - sourceline: 'ppa:ubuntu-toolchain-r/test'
packages: packages:
- php7.1-dev
- autoconf - autoconf
- build-essential - build-essential
- gcc-5 - gcc-5
- g++-5 - g++-5
php:
- '7.1'
before_install: before_install:
- export CC=gcc-5 - export CC=gcc-5
- export CXX=g++-5 - export CXX=g++-5
...@@ -23,7 +24,7 @@ before_install: ...@@ -23,7 +24,7 @@ before_install:
script: script:
- dpkg -l | grep php - dpkg -l | grep php
- ls /usr/bin | grep php - ls /usr/bin | grep php
- phpize7.1 - phpize
- ./configure --enable-bencode - ./configure --enable-bencode
- make -j$(nproc) - make -j$(nproc)
- make test - make test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment