forked from log4cplus/log4cplus
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
81 lines (81 loc) · 2.67 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
language: cpp
sudo: false
dist: precise
compiler:
- gcc
- clang
addons: &addons
apt:
sources: &sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- ubuntu-sdk-team
packages: &packages
- g++-6
- gcc-6
- clang-3.8
- libstdc++-5-dev
- swig
- python
# - qtbase5-dev
env:
# - PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-c-locale --with-wchar_t-support --enable-unit-tests"
# CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
# - PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-working-locale --with-wchar_t-support --enable-unit-tests"
# CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
# - PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-working-locale --with-wchar_t-support --enable-unit-tests"
# CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
# - PARAM_THREADS="--enable-threads --with-python --with-qt5 --with-iconv --with-wchar_t-support --enable-unit-tests"
# CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
# - PARAM_THREADS="--disable-threads --with-python --with-qt5 --with-iconv --with-wchar_t-support --enable-unit-tests"
# CXXFLAGS="" SWIG_FLAGS="" QT=qtbase5-dev
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-c-locale --with-wchar_t-support --enable-unit-tests"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-working-locale --with-wchar_t-support --enable-unit-tests"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-working-locale --with-wchar_t-support --enable-unit-tests"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--enable-threads --with-python --with-qt --with-iconv --with-wchar_t-support --enable-unit-tests"
CXXFLAGS="" SWIG_FLAGS=""
- PARAM_THREADS="--disable-threads --with-python --with-qt --with-iconv --with-wchar_t-support --enable-unit-tests"
CXXFLAGS="" SWIG_FLAGS=""
before_install:
- lsb_release -a
- git submodule update --init --recursive
before_script:
- |
case "$CXX" in #(
g++*) CXX=g++-6 #(
;;
clang++*) CXX=clang++-3.8
;;
esac
- |
case "$CC" in #(
gcc*) CC=gcc-6 #(
;;
clang*) CC=clang-3.8
;;
esac
- export CXX CC
- 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:
- 2.0.x
notifications:
recipients:
email:
on_success: always
on_failure: always