代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/CAS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Steps to enable this build are:
#
# Generate the OAUTH-TOKEN at https://github.com/settings/applications
# Install travis: gem install travis
# Login to travis: travis login
# Encrypt the token: travis encrypt VAR_NAME=VAR_VALUE -r apereo/cas --add env.global
# Encrypted settings include GPG_PSW, SONATYPE_USER, GPG_PASSPHRASE, SONATYPE_PWD, GH_TOKEN, COVERITY_SCAN_TOKEN
language: java
sudo: required
dist: trusty
services:
- docker
branches:
only:
- master
before_cache:
- rm -rf $HOME/.gradle/caches/4.*/
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
# Remove once Travis CI fixes JDK setup
before_script:
- unset -v _JAVA_OPTIONS
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- chmod +x install-jdk.sh
- export JAVA_HOME=$(./install-jdk.sh --emit-java-home -F 11 -c | tail --lines 1)
- echo $JAVA_HOME
cache:
bundler: false
cargo: false
directories:
- $HOME/.m2
- $HOME/.npm/
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
git:
depth: 2
notifications:
slack:
secure: "gNFUOGd0isowSwPfQ9VqGQWhWRDAjzX9tfH0xGe2gyg1kiOhq3Odb8fdcUg9f3DhAbiMxGDu08IgmDbeEyncB42Zdqk/DFvD3F958WaVy0O9TF2iAzO+ftBG0+slFHPDZ8qAy97+mV/be7KBkLYP+BydYTVfO84NvpLNiylmOVU="
webhooks:
# Coveralls: https://docs.coveralls.io/parallel-build-webhook
secure: "e3Lkn/iMpq9IjNrBQqMAKAxCbKUcd5t6zbow+l39a5n7trIUcBzgK9YXlSBigRyVnKXwNmI08WQN0GMJuWoT2u9cda5qttgZ5C8p/RFWxGKz6qhlmKwcwmipasU0ykvMARB6nrTMwMeMV/O5btt2xko8KfsRQdmqyZGJBglhDsc="
matrix:
fast_finish: true
env:
global:
- JAVA_OPTS="-Xms512m -Xmx4048m -Xss128m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -Xverify:none -server"
- GRADLE_OPTS="-Xms512m -Xmx1024m -Xss128m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -Xverify:none -server"
- SPRING_MAIN_BANNER-MODE="off"
- COVERALLS_PARALLEL=true
- secure: "ScUSTo0if5m7ddnwUA7EaYucc6yzEUrKLk0DzCvkMfjn2h5taUFSKHx+S0hd2EzJofv+Em4eI5qncSK5LTxgD7HhHR1e3iZp+SqJenhhOnbuciZfg4QA+tUGw3XUdmREac5cz2l0qhi1q4vsnnZARj2d4vvf2HWuNtEOBu/ZAKI="
- secure: "iWPPLKSS3zBs2adqLPkMiHfCj2hSLyD5BoV3oodhR7Ne83Kpn1khRcEWFoHF3Ed11eSU+glNdPSzUpc8TzwTZGx5B3RU2Qp36hZFyjuzNWJARmoVPYMiEg3FFBQrUR75w+Tbtn6zPkiAk6nl0K5ewmY0/xixVdnTLXL5HjpE2rc="
- secure: "f3mDIZ8m6NYJXI8KvWD/sZRSeCCyIyfgPRy3Q6o9u9WyHZuYaJf95Ia0eJQ3gxUDS1TKL31Vk08dhFKrfIcKgifFPa2uQ2uyJkvGxlarMTQ+tpqsZYp4zAJgKc9r4xdZasvF2k4xqr+pl9AFjlpXB4jDD59XPXt3DcRABOYA9sM="
- secure: "A0B1HJoHzvYGT4pPWPW1bQDS3Ne755vZ/VZ20OtVRgJHTTQfK13eKgH0VbYpEyZKJAFIexmaDVQ0XUdNukzrAoI6rKSm5vwam6qjELrvrKH2ovMgd1xvS2a5a1no5OT3QP3TXKKlmOTdS+Q5ZspjslBxpay3q7aKA9GMNvzChko="
- secure: "o+KTglDoN49U9YawUsInKZ/83xxyeSB+WexfztRR+2dfCr049VXlJyurcE2/FygkentOY5DJU2UAnyZOEjyWoHth0q4MQOjIn0BE53yBFojxvcQPufgIR1Bc/BNaNeU2xRunNf8Rha/E/Dlwg5WdQT60Z0mdyDm7jHwodKxh7d4="
- secure: "EoYJdh2vb3BIqkfS6UTiVjDci1CMDOgBba8dijE7ebG44rA7BTv/Y9rwi5wSds+bW0m3LvojyxKwD+47tLlRPw7AuuifZJfZvb7cGG+6vXdagU8NNaOuoRc0jMk4R/VlQ4uCN4X7/30FUyFfQl1+BPR/v2Q5YsyBz5kp4romnp8="
- secure: "KplfTU6f4kYxX3vP1aE5IbLDroK0AznP+jhzM95vqab+tGRodq/6oXjV8dGH3CuolC4E0+zaG2HktUpFIUD85vhUSijK49k4tEJVx5DetDc1JYUb4OniwOaNX+BKOUwbnic1za12MWJF0ZmSZqsRdNulsSevcnGiV/TxhOmnYOk="
- secure: "A0B1HJoHzvYGT4pPWPW1bQDS3Ne755vZ/VZ20OtVRgJHTTQfK13eKgH0VbYpEyZKJAFIexmaDVQ0XUdNukzrAoI6rKSm5vwam6qjELrvrKH2ovMgd1xvS2a5a1no5OT3QP3TXKKlmOTdS+Q5ZspjslBxpay3q7aKA9GMNvzChko="
before_install:
- mkdir -p ~/.gradle && echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
- unset _JAVA_OPTIONS
- chmod -R 777 ./ci/*.sh
- ./ci/init-travis-build.sh
install: true
script:
- ./ci/script.sh
after_script:
- ./ci/stop.sh
stages:
- initialize
- build
- publish
- postbuild
- test
- dependencies
- spotbugs
jobs:
include:
- stage: initialize
script: ./ci/download-dependencies.sh
name: "Initialize Build System"
############################################
- stage: build
script: ./ci/build.sh
name: "Build CAS"
############################################
- stage: publish
if: NOT commit_message =~ ^\[skip\s+snapshots\] and type != "pull_request" and (branch =~ /^\d+\.\d+\.x$/ or branch = master)
script: ./ci/publish-snapshots-release.sh
name: "Publish Artifacts"
############################################
- stage: postbuild
script: ./ci/analyze-sonarqube.sh
if: type != pull_request
name: "SonarCloud Analysis"
- stage: postbuild
script: ./ci/analyze-style.sh
name: "Checkstyle Analysis"
- stage: postbuild
script: ./ci/push-docs-ghpages.sh
if: type != pull_request and (branch =~ /^\d+\.\d+\.x$/ or branch = master)
name: "Publish Documentation"
- stage: postbuild
script: ./ci/build-javadocs.sh
name: "Build Javadocs"
- stage: postbuild
script: ./ci/build-config-metadata.sh
name: "Build Configuration Metadata"
- stage: postbuild
script: ./ci/check-config-factories.sh
name: "Configuration Factory Analysis"
############################################
- stage: dependencies
script: ./ci/analyze-dependencies.sh
name: "Dependency Security Analysis"
- stage: dependencies
if: type != pull_request and (branch =~ /^\d+\.\d+\.x$/ or branch = master)
script: ./ci/report-dependency-updates.sh
name: "Dependency Update Report"
############################################
- stage: test
script: ./ci/tests/validate-tests.sh
name: "Validate Tests & Suites"
- stage: test
script: ./ci/tests/run-tests-simple.sh
name: "Simple Unit Tests"
- stage: test
script: ./ci/tests/restful/run-tests-restful.sh
name: "RESTful Tests"
- stage: test
script: ./ci/tests/amazons3/run-tests-awss3.sh
name: "AWS S3 Tests"
- stage: test
script: ./ci/tests/cassandra/run-tests-cassandra.sh
name: "Cassandra Tests"
- stage: test
script: ./ci/tests/cosmosdb/run-tests-cosmosdb.sh
name: "CosmosDb Tests"
- stage: test
script: ./ci/tests/radius/run-tests-radius.sh
name: "Radius Tests"
- stage: test
script: ./ci/tests/couchbase/run-tests-couchbase.sh
name: "Couchbase Tests"
- stage: test
script: ./ci/tests/dynamodb/run-tests-dynamodb.sh
name: "DynamoDb Tests"
- stage: test
script: ./ci/tests/filesystem/run-tests-filesystem.sh
name: "FileSystem Tests"
- stage: test
script: ./ci/tests/ignite/run-tests-ignite.sh
name: "Apache Ignite Tests"
- stage: test
script: ./ci/tests/influxdb/run-tests-influxdb.sh
name: "InfluxDb Tests"
- stage: test
script: ./ci/tests/ldap/run-tests-ldap.sh
name: "LDAP Tests"
- stage: test
script: ./ci/tests/mail/run-tests-mail.sh
name: "Mail Tests"
- stage: test
script: ./ci/tests/couchdb/run-tests-couchdb.sh
name: "CouchDb Tests"
- stage: test
script: ./ci/tests/memcached/run-tests-memcached.sh
name: "Memcached Tests"
- stage: test
script: ./ci/tests/mysql/run-tests-mysql.sh
name: "MySQL Tests"
- stage: test
script: ./ci/tests/mssqlserver/run-tests-mssqlserver.sh
name: "MSSQL Server Tests"
- stage: test
script: ./ci/tests/postgres/run-tests-postgres.sh
name: "PostgreSQL Tests"
- stage: test
script: ./ci/tests/mariadb/run-tests-mariadb.sh
name: "MariaDb Tests"
- stage: test
script: ./ci/tests/mongodb/run-tests-mongodb.sh
name: "MongoDb Tests"
- stage: test
script: ./ci/tests/redis/run-tests-redis.sh
name: "Redis Tests"
- stage: spotbugs
script: ./ci/analyze-bugs-main.sh
name: "Spotbugs Main Analysis"
- stage: spotbugs
script: ./ci/analyze-bugs-tests.sh
name: "Spotbugs Tests Analysis"
after_success:
- bash <(curl -s https://codecov.io/bash)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。