Skip to content

Commit d7c1b49

Browse files
committed
Travis uses new CMake and is dropping sudo=false
1 parent b1d33c8 commit d7c1b49

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: cpp
22
dist: trusty
3-
sudo: false
3+
sudo: true
44
matrix:
55
include:
66
# This config does a few things:
@@ -173,10 +173,7 @@ install:
173173
git clone https://github.com/llvm-mirror/libcxx.git llvm-source/projects/libcxx -b release_50
174174
git clone https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi -b release_50
175175
mkdir llvm-build && cd llvm-build
176-
# Building llvm requires a newer cmake than is provided by the trusty container:
177-
CMAKE_VER=cmake-3.8.0-Linux-x86_64
178-
curl https://cmake.org/files/v3.8/$CMAKE_VER.tar.gz | tar xz
179-
./$CMAKE_VER/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local ../llvm-source
176+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local ../llvm-source
180177
make -j2 install-cxxabi install-cxx
181178
cp -a include/c++/v1/*cxxabi*.h ~/.local/include/c++/v1
182179
cd ..

0 commit comments

Comments
 (0)