File tree Expand file tree Collapse file tree 1 file changed +49
-13
lines changed
Expand file tree Collapse file tree 1 file changed +49
-13
lines changed Original file line number Diff line number Diff line change 11language : cpp
2- os :
3- - linux
4- - osx
5- env :
6- - CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt59/bin:/usr/local/opt/qt5/bin:$PATH
7- addons :
8- apt :
9- sources :
10- - sourceline : ' ppa:beineri/opt-qt593-trusty'
11- packages :
12- - qt59base valgrind
2+ matrix :
3+ include :
4+ - os : linux
5+ addons :
6+ apt :
7+ sources :
8+ - ubuntu-toolchain-r-test
9+ - sourceline : ' ppa:beineri/opt-qt593-trusty'
10+ packages :
11+ - qt59base valgrind
12+ - g++-7
13+ env :
14+ - QMAKESPEC=linux-g++
15+ - EVAL="CC=gcc-7 && CXX=g++-7"
16+ - CFLAGS="-Os"
17+ - QMAKEFLAGS="-config release"
18+ - os : linux
19+ addons :
20+ apt :
21+ sources :
22+ - ubuntu-toolchain-r-test
23+ - llvm-toolchain-trusty-5.0
24+ - sourceline : ' ppa:beineri/opt-qt593-trusty'
25+ packages :
26+ - qt59base
27+ - clang-5.0
28+ env :
29+ - QMAKESPEC=linux-clang
30+ - EVAL="CC=clang-5.0 && CXX=clang++-5.0"
31+ - CFLAGS="-Oz"
32+ - QMAKEFLAGS="-config release"
33+ - os : osx
34+ env :
35+ - QMAKESPEC=macx-clang
36+ - CFLAGS="-Oz"
37+ - QMAKEFLAGS="-config debug"
38+ - PATH=/usr/local/opt/qt5/bin:$PATH
1339install :
1440 - if [ "${TRAVIS_OS_NAME}" != "linux" ]; then
1541 brew update;
1642 brew install qt5;
1743 fi
1844script :
45+ - PATH=`echo /opt/qt*/bin`:$PATH
46+ - eval "$EVAL"
1947 - make -s -f Makefile.configure configure | tee .config
48+ - make -k
49+ CFLAGS="$CFLAGS -march=native -g1 -Wall -Wextra -Werror"
50+ CPPFLAGS="-DNDEBUG"
51+ lib/libtinycbor.a
52+ - size lib/libtinycbor.a
53+ - make clean
54+ - make -k
55+ CFLAGS="$CFLAGS -O0 -g"
2056 - make
21- CFLAGS ="$CFLAGS "
22- all tests/Makefile
57+ QMAKEFLAGS ="$QMAKEFLAGS QMAKE_CXX=$CXX "
58+ tests/Makefile
2359 - cd tests && make check -k
2460 TESTRUNNER=`which valgrind 2>/dev/null`
You can’t perform that action at this time.
0 commit comments