1 Star 0 Fork 0

yuan85/Openfire

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
dist: trusty
sudo: false
language: java
addons:
hostname: example.org
hosts:
- example.org
jdk:
- oraclejdk8
- openjdk11
cache:
directories:
- $HOME/.m2/repository/
before_install:
# Need newer python than provided by trusty
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt install python3.6
- curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6
- git clone --depth 1 https://github.com/igniterealtime/ci-tooling.git target/ci-tooling
- cp target/ci-tooling/maven-settings-for-openfire-plugins.xml $HOME/.m2/settings.xml
before_script:
- gem install travis
script:
- mvn verify -P ci
- JAVAC_MAJOR_VERSION=$(javac -version | sed -E 's/javac ([[:digit:]]+).*/\1/')
- if [[ ${JAVAC_MAJOR_VERSION} -gt 8 ]]; then ./runIntegrationTests -gl; fi
- TERM="dumb" ./runAioxmppIntegrationTests -l
install: true
deploy:
provider: script
script: if [ "$TRAVIS_REPO_SLUG" = "igniterealtime/Openfire" ]; then mvn deploy --settings target/ci-tooling/maven-settings-for-openfire-plugins.xml -P ci; else echo "Skip deploy"; fi
skip_cleanup: true
on:
repo: igniterealtime/Openfire
all_branches: true
after_deploy:
- curl -LO https://raw.github.com/igniterealtime/ci-tooling/master/trigger-travis.sh
- chmod +x trigger-travis.sh
- DOWNSTREAM="bookmarks callbackOnOffline candy certificateManager clientControl contentFilter dbaccess emailListener emailOnAway externalservicediscovery fastpath gojara hazelcast httpFileUpload inverse jingleNodes jmxweb justmarried loadStats monitoring motd mucservice nodejs nonSaslAuthentication packetFilter presence registration restAPI search sip stunserver subscription tikitoken userCreation userImportExport userservice userStatus xmldebugger"
- for pluginname in $DOWNSTREAM; do sleep 1; ./trigger-travis.sh igniterealtime openfire-$pluginname-plugin $TRAVIS_ACCESS_TOKEN; done;
env:
global:
- secure: LNW7mcZ0HOXVXQ9r3h9CgMYVHqCleyC8Mbffl6iDOi3Z/McJUqjvAsop16RRPhgBiVePt1Y9pqZnWjm4jBHacttsH8m5p22T/XMW3T3/J1ovJUK5L/hvhXpVMH8GXTp3dk+Wsylh/39cmgW59TRmkFUXM2FbDpyJdAJqNaSreW0=
- secure: iUybxreNImeViBr3vofRatXhC7nYra5AyKVJTuJ1lQvljbFu+5WCXmZbPpPK4bxANCyaQC5Ny+QtqZrCgrD392CXKCk9K24kbQGLLX1jCcApF4EY3l/5LQwjMgCLgmqynkzmZC6AzYm+/ESXmrZcsnxa5g7FCFd6wvVAV+Y/K/M=
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuan85/Openfire.git
git@gitee.com:yuan85/Openfire.git
yuan85
Openfire
Openfire
master

搜索帮助