language: cppmatrix:include:- os: osxosx_image: xcode11.3compiler: clangenv: Qt5_DIR=/usr/local/opt/qt5/lib/cmake/Qt5- os: linuxdist: xenialsudo: falsecompiler: clangenv: CXX=clang++-7 CC=clang-7 QT=512addons:apt:sources:- llvm-toolchain-xenial-7packages:- clang-7- os: linuxdist: xenialsudo: falsecompiler: gccenv:- CXX=g++-7 CC=gcc-7 QT=512- CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer"- LDFLAGS=-fsanitize=address# Too many false positive leaks:- ASAN_OPTIONS=detect_leaks=0addons:apt:sources:- ubuntu-toolchain-r-testpackages:- g++-7git:depth: 10before_install:- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt; fi- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential libgl1-mesa-dev ; fi- if [[ "$QT" == "512" ]]; then sudo add-apt-repository ppa:beineri/opt-qt-5.12.1-xenial -y; fi- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -yqq install qt${QT}base; source /opt/qt${QT}/bin/qt${QT}-env.sh; fiscript:- mkdir build- cd build- cmake -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_BUILD .. && make -j- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then xvfb-run --server-args="-screen 0 1024x768x24" ctest --output-on-failure; fi- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ctest --output-on-failure; finotifications:email: false
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。