加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
dist: xenial
sudo: required
cache:
directories:
- $HOME/.m2
jobs:
include:
- os: linux
addons:
apt:
packages: maven
arch: arm64
language: minimal
script:
- "sudo add-apt-repository ppa:openjdk-r/ppa"
- "sudo apt-get update"
- "sudo apt install openjdk-11-jdk-headless"
- "mvn install -B -U"
- "mvn install -B -U -f platform -D javacpp.platform=linux-arm64"
- os: linux
arch: amd64
jdk: openjdk11
language: java
script:
- "echo '<settings><servers><server><id>sonatype-nexus-snapshots</id><username>${env.CI_DEPLOY_USERNAME}</username><password>${env.CI_DEPLOY_PASSWORD}</password></server></servers></settings>' > $HOME/settings.xml"
- "[[ $TRAVIS_PULL_REQUEST == 'false' ]] && export MAVEN_PHASE=deploy || export MAVEN_PHASE=install"
- "mvn $MAVEN_PHASE -B -U -s $HOME/settings.xml"
- "mvn $MAVEN_PHASE -B -U -s $HOME/settings.xml -f platform -D javacpp.platform=linux-x86_64"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化