File tree 3 files changed +29
-25
lines changed
3 files changed +29
-25
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,25 @@ compiler:
5
5
env :
6
6
- CXX11=1
7
7
- CXX11=0
8
- before_install : ./util/travis/before_install.sh
8
+ sudo : false
9
+ addons :
10
+ apt :
11
+ sources :
12
+ - llvm-toolchain-precise-3.8
13
+ - ubuntu-toolchain-r-test
14
+ packages :
15
+ - cmake
16
+ - libgd2-noxpm-dev
17
+ - libsqlite3-dev
18
+ - p7zip
19
+ - g++-6
20
+ - clang-3.8
21
+ before_install :
22
+ - # Nothing ever works correctly with precise, use a custom libleveldb build
23
+ - wget http://minetest.kitsunemimi.pw/libleveldb-1.18-ubuntu12.04.7z
24
+ - 7zr x -olibleveldb libleveldb-1.18-ubuntu12.04.7z
9
25
script : ./util/travis/script.sh
10
26
notifications :
11
27
email : false
12
28
matrix :
13
29
fast_finish : true
14
- exclude :
15
- - env : CXX11=1
16
- compiler : gcc
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
+ CXX=g++-6
4
+ [ $CC == " clang" ] && CXX=clang-3.8
5
+ export CXX
6
+
7
+
3
8
mkdir -p travisbuild
4
9
cd travisbuild
5
- cmake -DENABLE_LEVELDB=1 -DUSE_CXX11=$CXX11 ..
10
+
11
+ cmake \
12
+ -DENABLE_LEVELDB=1 -DUSE_CXX11=$CXX11 \
13
+ -DLEVELDB_LIBRARY=../libleveldb/lib/libleveldb.so \
14
+ -DLEVELDB_INCLUDE_DIR=../libleveldb/include \
15
+ ..
16
+
6
17
make -j2
You can’t perform that action at this time.
0 commit comments