代码拉取完成,页面将自动刷新
language: cpp
sudo: false
dist: trusty
linux64_addons:
addons: &linux64
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
linux32_addons:
addons: &linux32
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- g++-4.8-multilib
- linux-libc-dev:i386
- libc6-dev-i386
linux64_cpp17addons:
addons: &linux64cpp17
apt:
sources:
- ubuntu-toolchain-r-test
# Set empty values for allow_failures to work
env: TEST_COMMAND=$TRAVIS_BUILD_DIR/ci/build_and_run_tests.sh
matrix:
fast_finish: true
include:
- os: linux
env: EMSCRIPTEN=ON TEST_COMMAND=$TRAVIS_BUILD_DIR/ci/build_and_run_tests.sh
addons: *linux64
- os: linux
compiler: clang
addons: *linux64
- os: linux
compiler: gcc
env: ARCH=x86 CMAKE_EXTRA=-DHAVE_LIBM=/lib32/libm.so.6 TEST_COMMAND=$TRAVIS_BUILD_DIR/ci/build_and_run_tests.sh
addons: *linux32
- os: osx
compiler: clang
- os: linux
compiler: gcc
env: CMAKE_EXTRA="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS='-march=native'" TEST_COMMAND=$TRAVIS_BUILD_DIR/ci/build_and_run_tests.sh
addons: *linux64cpp17
dist: bionic
- os: linux
compiler: gcc
addons: *linux64cpp17
dist: bionic
before_install:
# Setting environement
- cd $TRAVIS_BUILD_DIR
- source ci/setup-travis.sh
- $CC --version
- $CXX --version
script:
- echo $TEST_COMMAND
- (eval "$TEST_COMMAND")
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。