1 Star 0 Fork 0

阿布/java-client-api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
mivola 提交于 2018-09-14 13:36 . fixes #358 by updating to Java8 (#359)
---
services:
- docker
# Building the image which is needed for the integration tests.
# This is done in the sub module.
# TODO: May be we need to think about this.
# TODO: Make our own image and publish this to docker hub.
before_install:
- docker --version
- cd jenkins-client-it-docker
- docker build --no-cache -t jenkins-with-plugins .
- docker run --name jenkins-for-testing -v "$(pwd)/jobs":/var/jenkins_home/jobs -d -p 8080:8080 -p 50000:50000 --env JENKINS_OPTS=--httpPort=8080 jenkins-with-plugins
- cd ..
# We skip the installation step,
# cause everything must run without
# preliminary installation.
install: true
language: java
script:
- mvn -Prun-its,run-docker-its clean verify --batch-mode --fail-at-end
# Make sure we stop the container
# and remove the container independent
# if it is running or not (-f option).
# Finally remove the image which has been created
# before during the before_install part.
after_script:
- docker stop jenkins-for-testing
- docker rm -f -v jenkins-for-testing
- docker rmi -f jenkins-with-plugins
# http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html
# - oraclejdk8 is not supported anymore.
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2/repository
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yingmingzongyu/java-client-api.git
git@gitee.com:yingmingzongyu/java-client-api.git
yingmingzongyu
java-client-api
java-client-api
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385