forked from swiesend/qabel-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 951 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
40
language: cpp
compiler: gcc
before_install:
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo apt-get update -qq
install:
# install json-c 0.12
- sudo apt-get install build-essential
- sudo apt-get install wget
- sudo apt-get install libtool
- git clone https://github.com/json-c/json-c
- cd json-c
- sh autogen.sh
- ./configure
- make
- sudo make install
- cd ..
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
- sudo apt-get install libssl-dev
- sudo apt-get install libcurl4-openssl-dev
- sudo apt-get install zlib1g-dev
- sudo apt-get install cmake
- sudo apt-get install cmake-data
- sudo apt-get install libglib2.0-dev
before_script:
- mkdir build
- cd build
script:
- cmake ..
- make
notifications:
email: false