加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 916 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dane Springmeyer 提交于 2017-02-03 15:03 . fix CXX var for g++ build
language: generic
matrix:
include:
# linux g++ 6
- os: linux
sudo: false
env: CXX=g++-6
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'g++-6', 'libstdc++-6-dev' ]
# linux clang++ 3.9
- os: linux
sudo: false
env: CXX=clang++-3.9
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++-4.9-dev' ]
cache: apt
install:
- git submodule update --init
- |
if [[ ${CXX} =~ "clang" ]] && [[ $(uname -s) == "Linux" ]]; then
./.mason/mason install clang++ 3.9.1
export PATH=$(./.mason/mason prefix clang++ 3.9.1)/bin:${PATH}
which clang++
./.mason/mason install binutils 2.27
export PATH=$(./.mason/mason prefix binutils 2.27)/bin:${PATH}
which ld
fi
script:
- BUILDTYPE=Release make
- make clean
- BUILDTYPE=Debug make
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化