Ai
1 Star 0 Fork 0

damone/FastBinaryEncoding

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.33 KB
一键复制 编辑 原始数据 按行查看 历史
Ivan Shynkarenka 提交于 2020-09-17 06:12 +08:00 . ...
# Programming language definition
language: cpp
# OS environment
dist: focal
# Build matrix (OS, compiler)
matrix:
include:
- name: "Linux (GCC compiler)"
os: linux
compiler: gcc
env: OS=linux COMPILER=gcc GCC_VERSION=10
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-10
- g++-10
- cmake
- doxygen
- graphviz
- binutils-dev
- python3
- python3-pip
- python3-setuptools
- uuid-dev
update: true
- name: "Linux (Clang compiler)"
os: linux
compiler: clang
env: OS=linux COMPILER=clang CLANG_VERSION=10
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- clang-10
- cmake
- doxygen
- graphviz
- binutils-dev
- python3
- python3-pip
- python3-setuptools
- uuid-dev
update: true
- name: "MacOS"
os: osx
compiler: clang
env: OS=osx COMPILER=clang
osx_image: xcode12u
# Branches to build
branches:
only:
- master
# Scripts that run before install
before_install:
# gcc, clang
- if [ "$OS" != "osx" ] && [ "$COMPILER" = "gcc" ]; then export CC="gcc-${GCC_VERSION}" CXX="g++-${GCC_VERSION}"; fi
- if [ "$OS" != "osx" ] && [ "$COMPILER" = "clang" ]; then export CC="clang-${CLANG_VERSION}" CXX="clang++-${CLANG_VERSION}"; fi
# brew, doxygen, graphviz
- if [ "$OS" == "osx" ]; then brew update; fi
- if [ "$OS" == "osx" ]; then brew install doxygen; fi
- if [ "$OS" == "osx" ]; then brew install graphviz; fi
# flex, bison
- if [ "$OS" == "osx" ]; then brew install flex bison; fi
- if [ "$OS" == "osx" ]; then export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi
# cmake
- cmake --version
# doxygen support
- export doxygen=yes
# git
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
- git config --global push.default simple
# gil
- pip3 install gil
- gil update
# Build scripts
script:
- cd build
- ./unix.sh
# Don't send notifications on success
notifications:
email:
on_success: never
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/damone/FastBinaryEncoding.git
git@gitee.com:damone/FastBinaryEncoding.git
damone
FastBinaryEncoding
FastBinaryEncoding
master

搜索帮助