-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (35 loc) · 985 Bytes
/
.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
before_install:
- CARMIN_R2S_DIR=$(pwd)
- sudo apt-get -qq update
- sudo apt-get install curl libcurl4-openssl-dev
- sudo apt-get install build-essential
- sudo apt-get install automake
- sudo apt-get install bison flex
- sudo apt-get install libcurl4-gnutls-dev
- sudo apt-get install autotools-dev
- sudo apt-get install libboost-dev
- git clone https://github.com/miloyip/rapidjson /tmp/rapidjson
- sudo cp -r /tmp/rapidjson/include/rapidjson /usr/include/
- git clone https://github.com/JinpengLI/gsoap.git /tmp/gsoap
- cd /tmp/gsoap
- sed -i '1i#ifndef WITH_COOKIES\n#define WITH_COOKIES\n#endif\n' ./gsoap/stdsoap2.h
- aclocal
- autoheader
- automake --add-missing
- autoconf
- automake
- ./configure
- make
- sudo make install
- cd $CARMIN_R2S_DIR
- cp CMakeLists.txt.origin CMakeLists.txt
language: cpp
# Compiler selection
compiler:
- clang
- gcc
# Build steps
script:
- mkdir build
- cd build
- cmake .. && make