-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
45 lines (40 loc) · 1.73 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
language: java
dist: trusty
group: edge
jdk: openjdk12
script: ./travis.script.sh
services:
- docker
# Push to GitHub releases - the key was generated by the Travis CLI.
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build/docs/javadoc/
target_branch: gh-pages
on:
branch: master
- provider: releases
api_key:
secure: jTnDLFXggrKm/Cz7aaXDTs7LBA8d247nw+65WMF6HAaTmtGqSPmD0oTwQbDdaywAtLhubP5q5fVjG1XLNvSSnugvb7fTeKH/XNQLQFauhlP8jpIT3izCqPpqbts8i6j33nbWxk93ZlKpYwGYNpuNoNSKMO9im4VlZnkcgYnErQ4YwrLyfZFmYTts/WP2LSzPq/eVCsVWA+Cw1/NhJ1pw8WF2uOk1cmIo/KdfKHMEyMNLBjpkdDHwp3tkK7uIlPYQrggUhV9jUysFrkKGyFXKQK0lTVh6UxySIlpnO4/7WQWSve3LLjGa8u7CBittX7PYPw0YC5wXf7qFw/MOx70L2Gp+9ctA4M9EyOCjGrWi6o79P8M+cWc3AweQNS9vAbDPGwhEqZPR6IgnxdDLxLiRA0eeGvbE/J6v3XC2VIeos6fbLc7ul6MnYQyY2UKaMS26bDkrr9DmS40G2G4FPddqlHhSVgbRBDFAFBhr843RmCl+nt0O84OxdYYzJavEJWb2fTVpzU3+5nZGYRMStZbiF80aIDFMiVqUMVy1Nhl8c7WI/sxGZGl0LvngM+RXItm8hB5QkeT2k3eqbnTnjZp1j+XjBTvRYZwZynlY/X8LALyfU52FbU8XzXmTVoC1jRH3/vkKY5oPZ0MTxeRUdR+IAT3aU9ZcQsprV2VgKwPaBQQ=
file_glob: true
file:
- stroom-docref/build/libs/stroom-docref-*.jar
- stroom-query-api/build/libs/stroom-query-api-*.jar
- stroom-query-common/build/libs/stroom-query-common-*.jar
- stroom-query-audit/build/libs/stroom-query-audit-*.jar
- stroom-query-testing/build/libs/stroom-query-testing-*.jar
skip_cleanup: true
on:
tags: true
# Clean out gradle caches as per travis docs
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- .autoconf
- $HOME/.m2
- $HOME/.gradle/wrapper
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/