1 Star 0 Fork 6

kolpazik/snake-ai

forked from iamconan/snake-ai 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 923 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steven Liu 提交于 2017-01-17 00:38 . Update CI config
sudo: required
language: cpp
os:
- linux
matrix:
include:
# gcc
- env: BUILD_TYPE=Debug
compiler: gcc
- env: BUILD_TYPE=Release
compiler: gcc
# clang
- env: BUILD_TYPE=Debug
compiler: clang
- env: BUILD_TYPE=Release
compiler: clang
branches:
only:
- master
- /^(dev)|(dev_.*)$/
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- gcc-4.9
- g++-4.9
- clang-3.7
before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
- echo ${PATH}
- echo ${CXX}
- ${CXX} --version
- ${CXX} -v
before_script:
- mkdir build && cd build
- cmake
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DCMAKE_VERBOSE_MAKEFILE=ON
..
script:
- make -j
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kolpazik/snake-ai.git
git@gitee.com:kolpazik/snake-ai.git
kolpazik
snake-ai
snake-ai
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385