代码拉取完成,页面将自动刷新
language: cpp
compiler:
- clang
- gcc
sudo: false
os:
- linux
- osx
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew --version;
HOMEBREW_NO_ENV_FILTERING=1 brew update;
fi
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install gettext;
brew link gettext --force;
fi
# Don't use real gcc on OS X, problems arise when
# Hunspell built with gcc is linked with cppunit built with clang.
# Homebrew builds are build with clang
before_script:
- if [ "$CXX" = "g++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then
export CXX="g++-5" CC="gcc-5";
fi
script:
- autoreconf -i && ./configure && make && make check
# - if [ "$TRAVIS_OS_NAME" = "osx" ]; then autoreconf -i -I /usr/local/share/aclocal && ./configure && make && make check; fi
# might be needed for future
after_failure:
- cat tests/test-suite.log
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- autoconf
- automake
- autopoint
- gcc-5
- g++-5
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。