summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2020-04-13 15:21:41 +0000
committerVictor Costan <costan@google.com>2020-04-14 01:09:54 +0000
commitba369ddbaffcfe635dd620d1aa68473b56267065 (patch)
tree87bf7d08b989c3e0653e40ced4487f748bf0bda4
parent5903e7a1125cacaa1d44367b5b84fe9208e42884 (diff)
downloadleveldb-ba369ddbaffcfe635dd620d1aa68473b56267065.tar.gz
Use LLVM 10 on Travis CI.
PiperOrigin-RevId: 306236199
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 42cbe64..766fdc9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,11 +20,11 @@ env:
addons:
apt:
sources:
- - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
+ - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- - clang-9
+ - clang-10
- cmake
- gcc-9
- g++-9
@@ -40,7 +40,7 @@ addons:
- gcc@9
- gperftools
- kyoto-cabinet
- - llvm@9
+ - llvm@10
- ninja
- snappy
- sqlite3
@@ -60,7 +60,7 @@ install:
# below don't work on macOS. Fortunately, the path change above makes the
# default values (clang and clang++) resolve to the correct compiler on macOS.
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-9" CC="clang-9"; fi;
+ if [ "$CXX" = "clang++" ]; then export CXX="clang++-10" CC="clang-10"; fi;
fi
- echo ${CC}
- echo ${CXX}