forked from miloyip/nativejson-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
78 lines (71 loc) · 2.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language: cpp
matrix:
include:
- compiler: gcc
env: CONFIG=release_x64
addons:
apt:
sources:
- boost-latest
- llvm-toolchain-precise-3.7
- ubuntu-toolchain-r-test
packages:
- g++-5-multilib
- gcc-5-multilib
- libboost1.55-all-dev
- php5-cli
# - compiler: gcc
# env: CONFIG=release_x32
# addons:
# apt:
# sources:
# - boost-latest
# - llvm-toolchain-precise-3.7
# - ubuntu-toolchain-r-test
# packages:
# - cpp-4.6
# - g++-5-multilib
# - gcc-5-multilib
# - linux-libc-dev:i386
# - libboost-all-dev:i386
# - php5-cli
- compiler: clang
env: CONFIG=release_x64
addons:
apt:
sources:
- boost-latest
- llvm-toolchain-precise-3.7
- ubuntu-toolchain-r-test
packages:
- clang-3.7
- libboost1.55-all-dev
- php5-cli
# - compiler: clang
# env: CONFIG=release_x32
# addons:
# apt:
# sources:
# - boost-latest
# - llvm-toolchain-precise-3.7
# - ubuntu-toolchain-r-test
# packages:
# - cpp-4.6
# - clang-3.7
# - linux-libc-dev:i386
# - libboost-all-dev:i386
# - php5-cli
before_install:
# Download and build premake5 from source; the Travis environment doesn't have the right version of glibc6 for the prebuilt binaries to work.
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha6/premake-5.0.0-alpha6-src.zip -O premake.zip
- unzip premake.zip
- cd premake-5.0.0-alpha6/build/gmake.unix
- make config=release
- cd ../../..
- sudo mv premake-5.0.0-alpha6/bin/release/premake5 /usr/bin
# - mv premake-5.0.0-alpha6/bin/release/premake5 build/premake5
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
script:
- make CONFIG=$CONFIG