代码拉取完成,页面将自动刷新
# 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。