1 Star 0 Fork 0

ChampionCheng/opencensus-proto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
dist: trusty
matrix:
include:
- language: java
jdk: oraclejdk8
env: BUILD=BAZEL
- language: java
jdk: oraclejdk8
env: BUILD=GRADLE
install:
- case "$BUILD" in
"BAZEL")
export BAZEL_OS="linux" ;
export BAZEL_VERSION="0.28.1" ;
wget "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh" ;
chmod +x bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh ;
./bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh --user ;
echo "build --disk_cache=$HOME/bazel-cache" > ~/.bazelrc ;
echo "build --experimental_strict_action_env" >> ~/.bazelrc ;
bazel version ;;
esac
script:
- case "$BUILD" in
"BAZEL")
cd src ;
bazel build --show_result=100 ... ;;
"GRADLE")
./gradlew clean assemble --stacktrace ;
./gradlew check --stacktrace ;;
*)
echo "Missing case $BUILD" ;
exit 1 ;;
esac
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/bazel-cache/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/champion_new/opencensus-proto.git
git@gitee.com:champion_new/opencensus-proto.git
champion_new
opencensus-proto
opencensus-proto
master

搜索帮助