-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
141 lines (141 loc) · 7 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
language: generic
os: osx
before_install:
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && make install && cd ..
matrix:
include:
- os: linux
dist: precise
env: COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
addons:
apt:
packages:
- g++-5
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install cmake
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && sudo make install && cd ..
- os: linux
dist: precise
env: COMPILER_NAME=gcc CXX=g++-4.9 CC=gcc-4.9
addons:
apt:
packages:
- g++-4.9
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install cmake
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && sudo make install && cd ..
- os: linux
dist: precise
env: COMPILER_NAME=gcc CXX=g++-4.8 CC=gcc-4.8
addons:
apt:
packages:
- g++-4.8
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install cmake
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && sudo make install && cd ..
- os: linux
dist: precise
env: COMPILER_NAME=gcc CXX=g++-4.7 CC=gcc-4.7
addons:
apt:
packages:
- g++-4.7
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install cmake
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && sudo make install && cd ..
- os: linux
dist: precise
env: COMPILER_NAME=gcc CXX=g++-4.6 CC=gcc-4.6
before_install:
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install cmake
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && sudo cp -a include/asio.hpp /usr/local/include && sudo cp -a include/asio /usr/local/include && cd ..
- os: linux
dist: precise
env: COMPILER_NAME=clang CXX=clang++-4.0 CC=clang-4.0
addons:
apt:
packages:
- g++-5
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- sudo sh -c "echo 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-4.0 main' >> /etc/apt/sources.list"
- sudo sh -c "echo 'deb-src http://apt.llvm.org/precise/ llvm-toolchain-precise-4.0 main' >> /etc/apt/sources.list"
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get autoremove cmake
- sudo apt-get autoremove emacsen-common
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y ppa:george-edison55/precise-backports
- sudo apt-get update
- sudo apt-get install -y cmake clang-4.0
- curl -sSLo googletest-release-1.8.0.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- tar xzf googletest-release-1.8.0.tar.gz
- cd googletest-release-1.8.0/googletest && cmake . && make && cd .. && cd ..
- curl -sSLo asio-1.10.8.tar.gz https://superb-sea2.dl.sourceforge.net/project/asio/asio/1.10.8%20%28Stable%29/asio-1.10.8.tar.gz
- tar xzf asio-1.10.8.tar.gz
- cd asio-1.10.8 && ./configure --without-boost && make && sudo make install && cd ..
script: sh ./travis.sh