ソースを参照

generate single-file-distribution with travis

Julius Pfrommer 10 年 前
コミット
1845bbc04c
共有2 個のファイルを変更した8 個の追加5 個の削除を含む
  1. 6 5
      .travis.yml
  2. 2 0
      tools/.deployDoxygen.sh

+ 6 - 5
.travis.yml

@@ -61,16 +61,17 @@ script:
 - cmake -DENABLE_MULTITHREADING=ON -DBUILD_EXAMPLESERVER=ON ..
 - make -j
 - cd .. && rm build -rf && mkdir -p build && cd build
-- echo "Documentation build"
-- cmake -DEXTENSION_STATELESS=ON -DBUILD_DOCUMENTATION=ON ..
-- make -j
-- echo "Generate documentation"
-- make -j doc
 - echo "Debug build and unit tests (64 bit)"
 - make clean
 - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_UNIT_TESTS=ON -DENABLE_COVERAGE=ON ..
 - make -j && make test
 - coveralls --gcov /usr/bin/gcov-4.8 -E '.*\.h' -E '.*CMakeCXXCompilerId\.cpp' -E '.*CMakeCCompilerId\.c' -r ../
+- cd .. && rm build -rf && mkdir -p build && cd build
+- echo "Documentation build"
+- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION=ON ..
+- make -j
+- echo "Generate documentation"
+- make -j doc
 - cd ..
 after_success:
 - ./tools/.deployDoxygen.sh

+ 2 - 0
tools/.deployDoxygen.sh

@@ -13,6 +13,8 @@ if [[ "$COMMITS" -le "1" ]]; then
    git rm -rf doc
    cp -r ../build/doc ./
    git add -A doc/*
+   cp ../build/open62541.* ./
+   git add open62541.*
    git config --global user.email "open62541-travis-ci@users.noreply.github.com"
    git config --global user.name "Open62541 travis-ci"
    git config --global push.default simple