1 Star 0 Fork 16

chenjian/GeoServer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
Mark Prins 提交于 2020-06-19 22:41 . Fix a typo in before caching on travis
cache:
directories:
- "$HOME/.m2"
- downloads
language: java
before_install:
- rm ~/.m2/settings.xml
- unset _JAVA_OPTIONS
env:
global:
- MAVEN_OPTS=-Xmx512m
- MAVEN_VERSION=3.6.3
- TAKARI_SMART_BUILDER_VERSION=0.6.1
before_script:
- mkdir -p downloads
- export MAVEN_ZIP=apache-maven-$MAVEN_VERSION-bin.zip
- |
if [ ! -f downloads/$MAVEN_ZIP ]; then
wget -P downloads https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MAVEN_VERSION/$MAVEN_ZIP
fi
- export SMART_JAR=takari-smart-builder-$TAKARI_SMART_BUILDER_VERSION.jar
- |
if [ ! -f downloads/$SMART_JAR ]; then
wget -P downloads https://repo1.maven.org/maven2/io/takari/maven/takari-smart-builder/$TAKARI_SMART_BUILDER_VERSION/$SMART_JAR
fi
- unzip downloads/$MAVEN_ZIP
- export M2_HOME=$PWD/apache-maven-$MAVEN_VERSION
- cp downloads/$SMART_JAR $M2_HOME/lib/ext
- export PATH=$M2_HOME/bin:$PATH
- mvn --version
install:
- if [ "$ACTION" == "docs" ]; then sudo pip install sphinx requests; fi
script:
- if [ "$ACTION" == "build" ]; then mvn -f src/pom.xml -B -U -T3 -fae -Prelease --builder smart clean install $ARGS && mvn -f src/community/pom.xml -nsu -B -U -T4 -fae -DskipTests -Prelease -PcommunityRelease --builder smart clean install $COMMUNITY_ARGS; fi
- if [ "$ACTION" == "build" ]; then grep -H "<testsuite" `find . -iname "TEST-*.xml"` | sed 's/.\/\(.*\)\/target.*:<testsuite .* name="\(.*\)" time="\([^"]*\)" .*/\3\t\2\t\1/' | sort -nr | head -50; fi
- if [ "$ACTION" == "docs" ]; then mvn -f doc/en install; fi
- if [ "$ACTION" == "package" ]; then mvn -f src/pom.xml -B -U -T3 -fae --builder smart -Prelease,communityRelease clean install -DskipTests; mvn -f src/pom.xml assembly:single -nsu -N; mvn -f src/community/pom.xml assembly:single -nsu -N; fi
before_cache:
- rm -rf $HOME/.m2/repository/org/geotools
- rm -rf $HOME/.m2/repository/org/geowebcache
- rm -rf $HOME/.m2/repository/org/geoserver
notifications:
email:
on_success: never
on_failure: never
matrix:
include:
- jdk: oraclejdk8
dist: trusty
env: ACTION=build ARGS="-Dfmt.skip=true" COMMUNITY_ARGS=$ARGS
name: Java 8 build
- jdk: openjdk11
env: ACTION=build ARGS="-Dfmt.skip=true" COMMUNITY_ARGS=$ARGS
name: Java 11 build
- jdk: openjdk11
env: ACTION=build ARGS="-Dfmt.action=check -Dqa -DskipTests=true" COMMUNITY_ARGS="-Dfmt.action=check -DskipTests=true"
name: QA build on Java 11
- jdk: openjdk11
env: ACTION=docs
name: Documentation build
- jdk: openjdk11
env: ACTION=package
name: Build release packages
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tc2952/geoserver.git
[email protected]:tc2952/geoserver.git
tc2952
geoserver
GeoServer
master

搜索帮助