forked from ZhengfengRao/json2cpp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
49 lines (39 loc) · 889 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
41
42
43
44
45
46
47
48
49
language: cpp
compiler:
- gcc-4.8
#sudo: false
#addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-4.8
# - g++-4.8
# - libboost-dev
addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
packages:
- cmake
- cmake-data
before_install:
# pyparsing
- sudo easy_install pyparsing
# g++4.8.1
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8 g++-4.8
# We want to compile with g++ 4.8 when rather than the default g++
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
before_script:
script:
- chmod 777 test_with_JsonCPP.sh test_with_RapidJson.sh
- ./test_with_JsonCPP.sh
- ./test_with_RapidJson.sh
notifications:
email: false
os:
- linux
# - osx