Skip to content

Commit d18869a

Browse files
committed
Update to newer CI environment.
The current one causes build failures since recent pytest versions are incompatble with Python 3.5.
1 parent dfd4cba commit d18869a

3 files changed

Lines changed: 7 additions & 14 deletions

File tree

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
sudo: required
2-
dist: xenial
1+
dist: focal
2+
sudo: enabled
33

44
language:
55
- c
66
addons:
77
apt:
8-
sources:
9-
- ubuntu-toolchain-r-test
108
packages:
119
- valgrind
12-
- clang
1310
- gcc
14-
- gcc-6
11+
- clang
1512
- python-docutils
1613
- python3-pip
1714
- python3-setuptools
1815
- ninja-build
16+
- meson
17+
- python3-pytest
18+
- libglib2.0-dev
1919
install: test/travis-install.sh
2020
script: test/travis-build.sh
2121

test/travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export CC
1212
TEST_CMD="python3 -m pytest --maxfail=99 test/"
1313

1414
# Standard build with Valgrind
15-
for CC in gcc gcc-6 clang; do
15+
for CC in gcc clang; do
1616
mkdir build-${CC}; cd build-${CC}
1717
if [ ${CC} == 'gcc-6' ]; then
1818
build_opts='-D b_lundef=false'

test/travis-install.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22

33
set -e
44

5-
# Meson 0.45 requires Python 3.5 or newer
6-
sudo python3 -m pip install pytest meson==0.44
7-
valgrind --version
8-
ninja --version
9-
meson --version
10-
115
# Install fuse
126
wget https://github.com/libfuse/libfuse/archive/master.zip
137
unzip master.zip
148
cd libfuse-master
159
mkdir build
1610
cd build
17-
export CC=gcc-6
1811
meson ..
1912
ninja
2013
sudo ninja install

0 commit comments

Comments
 (0)