代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/oshi 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: java
os: linux
dist: trusty
addons:
coverity_scan:
project:
name: "dblock/oshi"
description: "Build submitted via Travis CI"
build_command_prepend: "cov-configure --comptype gcc --compiler gcc-4.8 --template"
build_command: "./mvnw -DskipTests=true clean compile"
branch_pattern: coverity_scan
sonarcloud:
organization: "default" # the key of the open source org
hosts:
- oshi
hostname: oshi
env:
global:
# COVERITY_SCAN_TOKEN
- secure: "JuTWT2u7BWQEJGMGkVvQMIQxwxajntxqbCGYt+bJD3JQhioPVFUJoEFrLCx+jJ0qLy5usrneCDFrvRhvTh6C+95kvHypvGQ3UoeWyXS8zD+GRPUyskbuQ7P60kqqIqc+naGd3uyGddniixoAA6C/Ptmknhls4FlhDCMjW3HDS0c="
# disable shallow clone
git:
depth: false
before_install:
# Travis doesn't have Java on Windows. Use the Gravis project to get it
- if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
export JDK="[email protected]";
travis_retry git clone --depth 1 https://github.com/DanySK/Gravis-CI.git $HOME/gravis;
source $HOME/gravis/install-jdk;
source $HOME/gravis/install-maven;
fi
# Need to install our own arm64 jdk and set JAVA_HOME
- if [ "${TRAVIS_CPU_ARCH}" = "arm64" ]; then
sudo apt-get -m install openjdk-11-jdk maven;
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64;
export PATH=$JAVA_HOME:$PATH;
fi
# enable to get a stack trace on failed builds
# install:
# - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -X
script:
- if [ "${TRAVIS_BRANCH}" = "master" ]; then
java -version;
mvn test;
fi
after_success:
- if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_JOB_NAME}" = "Linux JDK11" ]; then
./mvnw clean test jacoco:report coveralls:report;
./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar;
fi
# 5 concurrent total builds and 2 concurrent builds on osx
# Put the osx in the first group of 5
# Put longest running job in first group of 5
jobs:
include:
- name: "Linux JDK11"
os: linux
jdk: openjdk11
- name: "Mac JDK8"
if: branch = master
os: osx
osx_image: xcode9.3
- name: "Mac JDK14"
if: branch = master
os: osx
osx_image: xcode12.2
- name: "Windows JDK 8"
if: branch = master
os: windows
language: shell
- name: "Linux JDK11 ARM"
if: branch = master
os: linux
arch: arm64
- name: "Linux JDK16 EA"
if: branch = master
os: linux
jdk: openjdk16
dist: bionic
# Uncomment if external issue
# allow_failures:
# - name: "Linux JDK16 EA"
# os: linux
# jdk: openjdk16
# dist: bionic
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。