Commit 89631a61 authored by Omer Katz's avatar Omer Katz

Make documentation only in one of the build jobs.

parent 5fb5002e
...@@ -9,7 +9,6 @@ addons: ...@@ -9,7 +9,6 @@ addons:
packages: &default_packages packages: &default_packages
- cmake - cmake
- valgrind - valgrind
- doxygen
env: env:
global: global:
...@@ -74,6 +73,10 @@ matrix: ...@@ -74,6 +73,10 @@ 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
...@@ -85,7 +88,7 @@ before_script: ...@@ -85,7 +88,7 @@ before_script:
- sed -i "s/-march=native//" CMakeLists.txt - sed -i "s/-march=native//" CMakeLists.txt
- mkdir build - mkdir build
script: script: &default_script
- > - >
eval "ARCH_FLAGS=\${ARCH_FLAGS_${ARCH}}" ; eval "ARCH_FLAGS=\${ARCH_FLAGS_${ARCH}}" ;
(cd build && cmake (cd build && cmake
...@@ -99,4 +102,4 @@ script: ...@@ -99,4 +102,4 @@ 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"`
- make travis_doc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment