File tree Expand file tree Collapse file tree 2 files changed +24
-29
lines changed Expand file tree Collapse file tree 2 files changed +24
-29
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ language: scala
22
33sudo : required
44
5- dist : trusty
6-
75addons :
86 apt :
97 packages :
@@ -14,33 +12,8 @@ before_install:
1412 - sudo hostname "$(hostname | cut -c1-63)"
1513 - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
1614 - sudo mv /tmp/hosts /etc/hosts
17- - cat /etc/hosts # optionally check the content *after*
18- - sudo apt-get -qq update
19- - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main' >> /etc/apt/sources.list"
20- - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
21- - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
22- - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
23- - sudo apt-get -qq update
24- - |
25- sudo apt-get install -y \
26- clang++-3.7 \
27- llvm-3.7 \
28- llvm-3.7-dev \
29- llvm-3.7-runtime \
30- llvm-3.7-tool \
31- libgc-dev \
32- libunwind7-dev
33- # Install re2
34- # (libre2-dev) since Xenial (16.04 LTS) http://packages.ubuntu.com/xenial/libre2-dev
35- - sudo apt-get install -y make
36- - export CXX=clang++-3.7
37- - git clone https://code.googlesource.com/re2
38- - pushd re2
39- - git checkout 2017-03-01
40- - make -j4 test
41- - sudo make install prefix=/usr
42- - make testinstall prefix=/usr
43- - popd
15+ - cat /etc/hosts # optionally check the content *after*
16+ - admin/setup_travis.sh
4417
4518env :
4619 global :
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
6+ sudo apt-get -qq update
7+ sudo apt-get install -y -qq \
8+ clang++-3.8 \
9+ libgc-dev \
10+ libunwind8-dev
11+
12+ # Install re2
13+ # Starting from Ubuntu 16.04 LTS, it'll be available as http://packages.ubuntu.com/xenial/libre2-dev
14+ sudo apt-get install -y make
15+ export CXX=clang++-3.8
16+ git clone https://code.googlesource.com/re2
17+ pushd re2
18+ git checkout 2017-03-01
19+ make -j4 test
20+ sudo make install prefix=/usr
21+ make testinstall prefix=/usr
22+ popd
You can’t perform that action at this time.
0 commit comments