Skip to content

Commit 2fb1fe6

Browse files
committed
fix travis ci
1 parent 89c8e66 commit 2fb1fe6

1 file changed

Lines changed: 13 additions & 19 deletions

File tree

.travis.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
1-
dist: trusty
1+
dist: bionic
22
sudo: required
33

44
language: php
55

66
addons:
7-
apt:
8-
sources:
9-
- sourceline: 'ppa:ubuntu-toolchain-r/test'
10-
packages:
11-
- autoconf
12-
- build-essential
13-
- gcc-5
14-
- g++-5
15-
- valgrind
7+
apt:
8+
packages:
9+
- autoconf
10+
- build-essential
11+
- valgrind
1612

1713
php:
1814
- '7.1'
1915
- '7.2'
2016
- '7.3'
2117

22-
before_install:
23-
- export CC=gcc-5
24-
- export CXX=g++-5
25-
- export NO_INTERACTION=1
18+
env:
19+
- NO_INTERACTION=1
2620

2721
script:
28-
- phpize
29-
- ./configure --enable-bencode
30-
- make -j$(nproc)
31-
- chmod 600 ./.valgrindrc
32-
- make test TESTS="-m"
22+
- phpize
23+
- ./configure --enable-bencode
24+
- make -j$(nproc)
25+
- chmod 600 ./.valgrindrc
26+
- make test TESTS="-m"

0 commit comments

Comments
 (0)