2014-09-12 06:40:57 +00:00
language : cpp
2016-07-29 07:36:18 +00:00
cache : ccache
2015-09-04 23:40:15 +00:00
2020-10-13 19:33:31 +00:00
dist : focal
2020-10-21 17:44:58 +00:00
branches :
only :
- master
2014-09-12 06:40:57 +00:00
compiler :
- gcc
2020-10-20 09:00:59 +00:00
- clang
arch :
- amd64
- arm64
2015-09-04 23:40:15 +00:00
env :
2020-10-14 16:52:44 +00:00
global :
- secure : "CQRYHWlg/WDu5DBUeDwGo+rPeOofN08DhiLUNlLtZjMWaRyP0Cop1qVaFs8ESOkYiWek2MdpvjZud+7hL+yx2ogvNx4SfHpUMCDKYgcX+YQ9MmYwabvoKq8N6KVXE3lbPp549TonHdDuNCWNKRniNjYtrij5J+IiIiT8/6Txo2p9RWk6YSUTdXJ9YrfuWMtRuF5uo9SHGyujv8pOJKedrwWoSBbHT44jnwfHMVe/C8jgjwlrJ9N3iXOtsG6sj+UTS8vOpL+jpBONEbBfHgSFU57I7IFNdPQbSObpVwG9geOAHT7IQQyQ9hp2AJoFxxVURB5SzqztDDpQ0XIF76vuH9tA/fF2pwDsLRmcLR8JU1TCmQgvnlYD0+Or9S1Dq0tQME5AP+21Hk2zVcGdbgQP7XWix758F0vpOXa4PXw8TmAjP2jKyAMHlzR3icr3+OmKSK3uXMMt2HSMOJQ+JvFxr//DM493i/VGyeY25/zu3A9RstiE+1d82Fi9xKOmMf4smvSkjOgT0b727jqNbNe6CvEKQUmqHabzYRQzUVz6WPVDHBxZP7AiKmZIVQXYnDsVXywStkSoxxY5En6XKpq0GR3bIVtUMORgZPoZi7Jni+/4EckcYH8g9mpsQf9tPRcOZ2WIvt5gqp2MZuwBLBRcbxihuECfBscqdeA0oDU5AZw="
- GH_REPO_NAME : crow
- DOXYFILE : $TRAVIS_BUILD_DIR/Doxyfile
2020-11-30 20:05:55 +00:00
- GH_REPO_REF : github.com/crowcpp/crow.git
- THEME_REPO_REF : github.com/crowcpp/darxygen.git
2015-09-04 23:40:15 +00:00
2020-10-20 09:00:59 +00:00
2015-09-04 23:40:15 +00:00
addons :
apt :
packages :
2020-10-13 19:33:31 +00:00
- libboost-all-dev
2020-10-14 16:52:44 +00:00
- doxygen
2020-11-28 14:28:47 +00:00
- mkdocs
2020-10-14 16:52:44 +00:00
- graphviz
2015-09-04 23:40:15 +00:00
2020-10-20 09:00:59 +00:00
before_install :
- if [ "$TRAVIS_COMPILER" == "gcc" -a "$TRAVIS_CPU_ARCH" == "amd64" ]; then export PUSH_COVERAGE=ON; fi
2020-11-28 14:28:47 +00:00
- if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" -a "$PUSH_COVERAGE" == "ON" ]; then export TRAVIS_BUILD_DOCS=ON; pip install mkdocs-material; fi
2020-10-20 09:00:59 +00:00
2015-09-04 23:40:15 +00:00
install :
2020-10-13 20:07:34 +00:00
- if [ "$PUSH_COVERAGE" == "ON" ]; then pip install --user cpp-coveralls; fi
2014-09-12 06:40:57 +00:00
before_script :
- mkdir build
- cd build
2014-09-12 07:19:43 +00:00
- cmake --version
2014-09-12 06:40:57 +00:00
- cmake ..
2020-10-20 09:00:59 +00:00
script : make -j4 && ctest -V -j4
2015-06-10 09:13:47 +00:00
after_success :
- cd ..
2020-10-18 18:41:36 +00:00
- if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls -i include --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --gcov-options '\-lp'; fi
2020-10-31 20:56:50 +00:00
- chmod +x scripts/generateDocumentationAndDeploy.sh
2020-10-31 17:03:47 +00:00
- if [ "$TRAVIS_BUILD_DOCS" == "ON" ]; then ./scripts/generateDocumentationAndDeploy.sh; fi