1 Star 0 Fork 0

展桑BenjieYao/sunxi-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
# use container-based infrastructure
sudo: false
language: c
# treat all warnings as errors, fake cross-toolchain (build everything on host)
env:
- CFLAGS=-Werror CROSS_COMPILE=""
os:
- linux
- osx
compiler:
- gcc
- clang
# OSX uses Apple's flavor of clang anyway, so there's no point in trying "gcc".
# This excludes the "gcc" compiler from the build matrix for OSX:
matrix:
exclude:
- os: osx
compiler: gcc
# take care of the libusb dependency for Linux
addons:
apt:
packages:
- libusb-1.0-0-dev
# take care of the libusb dependency for Mac OS X; select make/install target
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install libusb;
export TARGET=tools;
else
export TARGET=all;
fi
# build using the Makefile
script:
- make ${TARGET} && make misc
# run/simulate a test install
after_success:
- make install-${TARGET} install-misc DESTDIR=/tmp PREFIX=/sunxi-tools
# turn off email notifications
notifications:
- email: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/benjieyao/sunxi-tools.git
git@gitee.com:benjieyao/sunxi-tools.git
benjieyao
sunxi-tools
sunxi-tools
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385