forked from AlchemistSimulator/Alchemist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
116 lines (110 loc) · 9.03 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
os:
- linux
- osx
dist: xenial
language: java
jdk:
- openjdk11
- openjdk12
# To be enabled when the official version is out
# - openjdk13
git:
depth: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- secure: "OMDTeFBKjw0acBlmqh4+FZ5nnt/Aj2pF705Tta0qm3Sf61S+k1u503Dzt+nDs+/yY19HyyDFUj3+56a88IssEjd3xUVzPOz7kCW0p/lcqbAQ8jIATmoWpoMM9cOI4Xv9h+JJxOqLR54ODR0MGo/BVa51w93jsdpDnrlLNOoNf08r1bfA2Hifh/iKD/YzMyGqFI+vxvED7HhbDNG48chsr3QSGxsizXDtEZK+u0JZ6/CR2rHZTQzD6bkv3N2Vbq/4tc4pZVdH7zMXWRkrGunhHchwmgEwz90iJeo4fEeMBiWpchWg7Huxr2LUisdRKjzNqf+UjV5DljtK/RDbzyjC8vIAllD2hsmPJW1EfTOrIfIVgT2CoRrKKGIp/Dk5LkOTePMCXloe+M7gYipEWreAXeGYotAOdnxW1IoxhM3Dsbb4yxd6h1h2bFXToj0bzIEMySgivYJ0n0PhvuwWb/KUf2vt8r+ULdWvPVjgqQUDv38fgnqyfMmgMDfABlGpSxQWT2gy5VAinpgQzfNrVeOkDxxGDBLa4vOMy/yQ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tiV0+jBuhpv1b4h7hd2t5HbYhlN3GOomaFO86cHa6Qm7TJtexWbUFy/2/mF+oYeNsHeLu/Gv6t5k3jACLdE4ec/1Fm8Muw9yYOqDmjITY3OKBsotqcbyL6+5vw4AqvZ2jKQz8CbEVyp0vZ8OUqAJB19EwmDaUvPI051l5jiqeunLML7ThLQr+o5PmwA7pc307DiA1JfRakJvPkgmTmtjwfRUR/d0F1tC9ekrSH/8q8SkWhqIVhFQk2AGnwzOZE0Q948ieufMVhbT1WV2aitJCRv2HzpQe9Z57L58yfx59bwRfiUGMQCloY9rR/+IT9P/DdQhWbw6yj0qzEVTTZzguDANL3mUycIcXwYLdphDZzq6Cw46EwJvSY0FVJthsrfjYi8UD01zkcalvMy/ADhvpDSm/grJiFzrBLBQcMVgDBm4TB+3JTj4vTnzSZHNhubiFJ5daxxQ7Uhpi2bJKdNqGAjyxbm+fhdNWza7K1FGB5jns9UCI7bAo/RkztTyqELRqg6RHnIRz7Ta57ZeF8WEky9ziyr1LNEeBRY/qEsAtUpoAv9fmSFat2bWXkxPmZcF2DxAhYqnAPOh8dj9QbCQEBjMfgnVOt2u48ePkeh1vlV1XU7k2cyCFQnqMJpnQK5KVwdrqac="
- TERM=dumb
matrix:
- PUBLISH="false"
matrix:
include:
- jdk: openjdk11
env: PUBLISH="true"
os: linux
exclude:
- jdk: openjdk11
env: PUBLISH="false"
os: linux
before_install: >-
if [ $TRAVIS_OS_NAME = 'linux' ]; then
sudo apt-get -qq update;
sudo apt-get install -y graphviz openjfx;
export SHOULD_CONFIGURE="$(if [ $TRAVIS_PULL_REQUEST = "false" ] && [ $TRAVIS_REPO_SLUG = 'AlchemistSimulator/Alchemist' ]; then echo 'true'; else echo 'false'; fi)"
else
export SHOULD_CONFIGURE="$(echo 'false')"
fi
install: >-
if $SHOULD_CONFIGURE; then
openssl aes-256-cbc -K $encrypted_9993846e3f84_key -iv $encrypted_9993846e3f84_iv -in prepare_environment.sh.enc -out prepare_environment.sh -d
bash prepare_environment.sh
fi
script: >-
cd alchemist;
if [ $TRAVIS_OS_NAME = "windows" ]; then
gradlew.bat clean check fatJar dokka buildDashboard projectReport --scan --stacktrace
else
./gradlew clean check fatJar dokka buildDashboard projectReport --scan --stacktrace > >(egrep -v '(null:-1:-1)|(t find node by signature)')
fi
after_success: >-
if $SHOULD_CONFIGURE && $PUBLISH; then
./gradlew orchidDeploy publish --scan --stacktrace
mkdir -p report
cp --parent */build/reports build/reports report -R
fi
deploy:
- provider: releases
skip_cleanup: true
api_key:
secure: NiA2CFiiUjreyOGzlA+vxCFT2a6dHZ44gdwA96jBrE3jNdUPXAxzvsaA9rNNxkvHPyADH0DPPZbJ517SdddSYViRcpjlple3dl5jCHxUoBtHBXvrzD2fAhslVejZ7LoxdY9v9K0xSIo3he/pmrtzcuIuPNFrj7LYmYkXeqQcLsxyCrPY+XBOuV6U+Hl5XDUVNqB+/J1qtZUWVg3B1AwGpp8roLKmLYreUfuNwwmF9hXWO8EbS4zIAKDnwf+E/44aiXiULyJ7CPWKEtPgxqJLo9Hi0lABr6I4WV4LzSVaOjA4FdTCVOtFpVzecni0J6+KH2AETTkWtWNt6Hguoa0hUbzD96u4p5eEx1xJzV/k+TRuNkoRMfdGT5Xm0b3N1OF1t/w0woD0NQx2qzqvpnJ7YiPwATfv1n9x8/qqmaCMP3iVDS/manNcyMg2d7ip84313wea/V2H3+mm2VDUsiKoE/Jk5y0Vh3uuSsQOmPd0i3LfpC0AiJCyC0TT3lg6fBRzgVgtC26+idWdw0dXSxaU+iYYJYpPcsAiVzr/bqfpkURe4IWHDcASMuUWKAnzrVtnvaDgKw60RboZFK3aUaECxDYZ9JThZERw2zYP9FX8eXld6y7dLJhEWxCAY7m/IaNemj7+uJ79TCVso43RCosSgBr+tvcF+LzOhaLAHvQ4iHM=
file_glob: true
file: "${HOME}/build/${TRAVIS_REPO_SLUG}/alchemist/build/libs/alchemist-redist*.jar"
on:
repo: AlchemistSimulator/Alchemist
tags: true
condition: $PUBLISH = true
- provider: surge
skip_cleanup: true
project: "./alchemist/build/docs/javadoc/"
domain: alchemist-unstable-doc.surge.sh
on:
repo: AlchemistSimulator/Alchemist
branch: develop
condition: $PUBLISH = true
- provider: surge
skip_cleanup: true
project: "./alchemist/report"
domain: alchemist-unstable-reports.surge.sh
on:
repo: AlchemistSimulator/Alchemist
branch: develop
condition: $PUBLISH = true
- provider: surge
skip_cleanup: true
project: "./alchemist/build/docs/javadoc/"
domain: alchemist-doc.surge.sh
on:
repo: AlchemistSimulator/Alchemist
tags: true
condition: $PUBLISH = true
- provider: surge
skip_cleanup: true
project: "./alchemist/report"
domain: alchemist-reports.surge.sh
on:
repo: AlchemistSimulator/Alchemist
tags: true
condition: $PUBLISH = true