forked from apereo/cas-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (49 loc) · 3.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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=[OAUTH-TOKEN] -r apereo/cas --add env.global
language: java
sudo: required
branches:
only:
- master
jdk:
- oraclejdk8
# - oraclejdk9
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.npm/
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
git:
depth: 1
notifications:
slack: apereo:tUFPsW9tmnzVSADu1LqqSUV8
matrix:
fast_finish: true
env:
global:
- GRADLE_OPTS="-Xms256m -Xmx2048m"
- secure: "AAnmGEX+rY+xeqcDMCn+LWMResj5gs/4pkmQLFUBsNx1XRKNEbi8oELs4dUm09QzTjKh9eEtUw/fVi6fskuXq4pOfc/DffqK1h0C7yClcorM6HSc+QnHcRwp2oZaGzQ6D+T5LdzAIwsjYoF3JwFkIOKw65LN8QdHiA1b0kZsM3qNgP7T94X4LFnilbmCF+KDyabFgI5KiupGH41VHRZkNgcop4xdu5OHTfO85YTSOgMERExGYQkfkd0BPIeYzxXxD9dgRPSxpYX3K/7CMs3/zMOcQ8ZGMWbQbgAbN45t5xelzsg0L2bw59Q5mOwWXFBlTD/tgBE5+1dVTQnKfU+NBlCn+ZViFi/6aebsaOwbFVF9ZKmFpMZrpcQILDkmN6p7q7gvV1OXwGuNYXTu7dpJi2B5rSNYp71B9IKU33qh9sxJnAM7Q6VDvZ9swcZbgmgnQnX0HUwHz43serFUAfJJUPtv2A8NoIKjdi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j8hHWrKRWqpNyRYW6jAvF7CzKTdlvvKNYX/Wid33f93VTQ4pH/gL0ndW0jDcBLbTqZ9p+DhY8m5+Wir6MjWf4dV2ObKnIAABGedknuOO6W4zZUJE6f6vAo7RWBcG0/ZXpvrJRQ5hXjv68x8IaXIQkEa5kCXn9FHSswz8GfGU5w0XMpxNbCv4Eb3k0Ty9FAAY4YSRVltwK8OA/e8NbNgTkQWenzHitAHh6IjMTUfUygS47M/3ws36/F8rwu2R10COqxaeKS5TFSUue9obuVVOWvT9Z2bOVeCRhKSdWs+2XpbsecjJJgwIkxMFum66iGVc2DhK7JbHjfVWV7rFy2uCK6JU3/qsRmYsy856lBiMcknuJt+UHb+oIJJX0m1iesTANPKspRMjN6MXgRb59989kOGnk2tlv7XN39DmBxAFNePaGyNdOgllXJJ1N+vT13clJQXkLeNGyPIbSYo15aTtgpMmrdtCfn9MWnE3tVjlyZb+APe1Y="
matrix:
- PUBLISH_SNAPSHOTS=false
- PUBLISH_SNAPSHOTS=true
before_install:
- chmod -R 777 ./ci/init-travis-build.sh
- ./ci/init-travis-build.sh
- chmod -R 777 ./ci/push-docs-ghpages.sh
- ./ci/push-docs-ghpages.sh
install:
- chmod -R 777 ./ci/install.sh
- ./ci/install.sh
script:
- chmod -R 777 ./ci/script.sh
- ./ci/script.sh