1 Star 0 Fork 0

opengis-cesium/netcdf-java

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
Sean Arms 提交于 2019-08-24 04:02 +08:00 . enable spotless check on travis
dist: trusty
language: java
# Previously, we were seeing a failure in :it:appBeforeIntegrationTest:
# Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 137
# No output has been received in the last 10 minutes, this potentially indicates a stalled build or
# something wrong with the build itself. The build has been terminated.
# This thread indicates that running the job on Travis's container-based infrastructure may be causing resource issues:
# https://github.com/travis-ci/travis-ci/issues/5582
# Setting sudo to "true" forces the job to run on Travis's standard infrastructure, which seems to fix the problem.
sudo: true
env:
global:
# Must specify libnetcdf location this way; the 'jna.library.path' system property does not work.
# I believe it's because JNA is smart enough to find libnetcdf using that prop, but then libhdf5 is required.
# That dependency is searched for by the *OS*, not by JNA, and it knows nothing about 'jna.library.path'.
# Ordinarily, this wouldn't be a problem because libnetcdf would include an rpath reference to libhdf5, but the
# binaries were built on a different system than the Travis VMs, so it doesn't work.
- LD_LIBRARY_PATH="$TRAVIS_BUILD_DIR/travis/lib/ubuntu-14.04.5-amd64"
# For artifact upload. It's important to use relative paths here; otherwise, the entire absolute path would
# become part of the S3 URL.
- TEST_REPORT_DIR="build/reports/allTests"
- TDS_LOGS_DIR="tds/src/test/content/thredds/logs"
matrix:
- TASK=test-ncj
- TASK=test-tds
- TASK=spotless
addons:
# See the note in travis/after_script.sh about the environment variables that Travis artifact uploading requires.
artifacts:
bucket: unidata-tds
paths:
- $TEST_REPORT_DIR
- $TDS_LOGS_DIR
target_paths: Travis/$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
jdk:
- openjdk8
- oraclejdk8
matrix:
# only need to run spotless check on once
# so exclude one of the two JDKs
exclude:
- jdk: oraclejdk8
env: TASK=spotless
# Skip the installation step entirely; we don't need it for Gradle builds.
# https://docs.travis-ci.com/user/customizing-the-build#Skipping-the-Installation-Step
install: true
script:
- travis/script.sh
after_script:
- travis/after_script.sh
# See https://docs.travis-ci.com/user/languages/java/#Caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opengis-cesium/netcdf-java.git
git@gitee.com:opengis-cesium/netcdf-java.git
opengis-cesium
netcdf-java
netcdf-java
v5.3.1

搜索帮助