File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,32 @@ before_install:
11
11
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
12
12
- sudo mv /tmp/hosts /etc/hosts
13
13
- cat /etc/hosts # optionally check the content *after*
14
+ - sudo apt-get -qq update
15
+ - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main' >> /etc/apt/sources.list"
16
+ - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
17
+ - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
18
+ - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
19
+ - sudo apt-get -qq update
20
+ - |
21
+ sudo apt-get install -y \
22
+ clang++-3.7 \
23
+ llvm-3.7 \
24
+ llvm-3.7-dev \
25
+ llvm-3.7-runtime \
26
+ llvm-3.7-tool \
27
+ libgc-dev \
28
+ libunwind7-dev
29
+ # Install re2
30
+ # (libre2-dev) since Xenial (16.04 LTS) http://packages.ubuntu.com/xenial/libre2-dev
31
+ - sudo apt-get install -y make
32
+ - export CXX=clang++-3.7
33
+ - git clone https://code.googlesource.com/re2
34
+ - pushd re2
35
+ - git checkout 2017-03-01
36
+ - make -j4 test
37
+ - sudo make install prefix=/usr
38
+ - make testinstall prefix=/usr
39
+ - popd
14
40
15
41
env :
16
42
global :
You can’t perform that action at this time.
0 commit comments