1 Star 0 Fork 70

搬砖现场/CAS

forked from Gitee 极速下载/CAS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 6.93 KB
一键复制 编辑 原始数据 按行查看 历史
tduehr 提交于 2018-11-07 12:37 . fix CouchDb testing (#3616)
# 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="
matrix:
fast_finish: true
env:
global:
- GRADLE_VERSION=4.10.2
- 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"
- 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="
before_install:
- 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)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaowx_admin/CAS.git
git@gitee.com:zhaowx_admin/CAS.git
zhaowx_admin
CAS
CAS
master

搜索帮助