Split the documentation task from the rest since references to script doesn't work.
This commit is contained in:
parent
89631a6190
commit
8e40b2062e
15
.travis.yml
15
.travis.yml
@ -73,13 +73,17 @@ matrix:
|
|||||||
- *default_packages
|
- *default_packages
|
||||||
- g++-multilib
|
- g++-multilib
|
||||||
- libc6-dbg:i386
|
- libc6-dbg:i386
|
||||||
- doxygen
|
|
||||||
script: # Generate and push documentation
|
|
||||||
- *default_script
|
|
||||||
- make travis_doc
|
|
||||||
after_success:
|
after_success:
|
||||||
- pip install --user cpp-coveralls
|
- pip install --user cpp-coveralls
|
||||||
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
||||||
|
- script:
|
||||||
|
- cd build
|
||||||
|
- cmake -DRAPIDJSON_HAS_STDSTRING=ON -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
|
- make travis_doc
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- doxygen
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# hack to avoid Valgrind bug (https://bugs.kde.org/show_bug.cgi?id=326469),
|
# hack to avoid Valgrind bug (https://bugs.kde.org/show_bug.cgi?id=326469),
|
||||||
@ -88,7 +92,7 @@ before_script:
|
|||||||
- sed -i "s/-march=native//" CMakeLists.txt
|
- sed -i "s/-march=native//" CMakeLists.txt
|
||||||
- mkdir build
|
- mkdir build
|
||||||
|
|
||||||
script: &default_script
|
script:
|
||||||
- >
|
- >
|
||||||
eval "ARCH_FLAGS=\${ARCH_FLAGS_${ARCH}}" ;
|
eval "ARCH_FLAGS=\${ARCH_FLAGS_${ARCH}}" ;
|
||||||
(cd build && cmake
|
(cd build && cmake
|
||||||
@ -102,4 +106,3 @@ script: &default_script
|
|||||||
- make tests -j 2
|
- make tests -j 2
|
||||||
- make examples -j 2
|
- make examples -j 2
|
||||||
- ctest -j 2 -V `[ "$CONF" = "release" ] || echo "-E perftest"`
|
- ctest -j 2 -V `[ "$CONF" = "release" ] || echo "-E perftest"`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user