Skip to content

Commit 8a67e69

Browse files
committed
Update the Travis-CI test-build configuration.
Was: Ubuntu 16.04 ("Xenial") with LLVM 8.0 Now: Ubuntu 18.04 ("Bionic") with LLVM 9.0
1 parent f337f68 commit 8a67e69

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
###############################################################################
1111

1212
sudo: required
13-
dist: xenial
13+
dist: bionic
1414
language: cpp
1515

1616
before_install:
1717
- sudo scripts/travis_deps.sh
1818

1919
script: >
20-
CXX=/usr/lib/llvm-8/bin/clang++
21-
CC=/usr/lib/llvm-8/bin/clang
22-
./configure --with-llvm=/usr/lib/llvm-8 &&
20+
CXX=/usr/lib/llvm-9/bin/clang++
21+
CC=/usr/lib/llvm-9/bin/clang
22+
./configure --with-llvm=/usr/lib/llvm-9 &&
2323
make -j2 &&
2424
make check
2525

scripts/travis_deps.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set -eux
1616

1717
apt-get update -qq
1818

19-
# The Travis-CI Ubuntu 16.04 ("xenial") build environment has LLVM and Clang
19+
# The Travis-CI Ubuntu 18.04 ("bionic") build environment has LLVM and Clang
2020
# preinstalled. They interfere with our installations of these packages.
2121
apt-get remove -y -qq \
2222
clang \
@@ -28,23 +28,23 @@ apt-get install -y -qq \
2828
software-properties-common \
2929
wget
3030

31-
# Set up for installing LLVM 8.0.
31+
# Set up for installing LLVM 9.0.
3232
# See <https://wiki.ubuntu.com/ToolChain>.
3333
# See <http://llvm.org/apt/>.
3434
add-apt-repository -y \
3535
ppa:ubuntu-toolchain-r/test
3636
add-apt-repository -y \
37-
'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main'
37+
'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
3838
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
3939
apt-get update -qq
4040

41-
# Install LLVM 8.0. See file "INSTALL.md".
41+
# Install LLVM 9.0. See file "INSTALL.md".
4242
apt-get install -y -qq \
43-
llvm-8 \
44-
llvm-8-dev \
45-
clang-8 \
46-
libclang-8-dev \
47-
clang-format-8 \
43+
llvm-9 \
44+
llvm-9-dev \
45+
clang-9 \
46+
libclang-9-dev \
47+
clang-format-9 \
4848
libedit-dev
4949

5050
# Install other C-Reduce dependencies. See file "INSTALL.md".

0 commit comments

Comments
 (0)