forked from log4cplus/log4cplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
89 lines (89 loc) · 3.69 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
language: cpp
compiler:
- gcc
env:
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-c-locale"
CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-locale"
CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-c-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE" QT=qtbase5-dev
- PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-working-locale"
CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-working-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-iconv"
CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-iconv"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE" QT=qtbase5-dev
- PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-iconv"
CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-iconv"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-c-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-locale"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-c-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-working-locale"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-working-locale"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-iconv"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-iconv"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-iconv"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-iconv"
CXXFLAGS="-DUNICODE" SWIG_FLAGS="-DUNICODE"
before_install:
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
- sudo add-apt-repository --yes
'deb http://ppa.launchpad.net/canonical-x/x-staging/ubuntu precise main'
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- if [ ! -z "$QT" ] ; then
sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa ;
fi
- sudo apt-get update -qq
- sudo apt-get install -q
gcc-4.8
g++-4.8
libstdc++-4.8-dev
llvm-3.4
clang-3.4
swig
python
- if [ ! -z "$QT" ] ; then
sudo apt-get install -q $QT ;
fi
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40
--slave /usr/bin/g++ g++ /usr/bin/g++-4.8
- sudo update-alternatives --config gcc
before_script:
- sh ./scripts/fix-timestamps.sh
- mkdir objdir
- cd objdir
script: ../configure $PARAM_THREADS
CPPFLAGS="-U_GLIBCXX_USE_FLOAT128"
CXXFLAGS="$CXXFLAGS"
SWIG_FLAGS="$SWIG_FLAGS"
&& make
&& make check
after_failure:
- cat config.log
- cat tests/testsuite.log
branches:
only:
- master
notifications:
recipients:
email:
on_success: always
on_failure: always