-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshippable.yml
32 lines (29 loc) · 1.24 KB
/
shippable.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
language: java
jdk:
- oraclejdk8
env:
global:
# AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY and GOOGLE_API_KEY
- secure: IW0gh4U7Gl43StIhK8ovPcyYZhwQXzXTQPGo0JMVHDPIbL0bS0fhKBzrR0x2eTPJtm0c57AeNyQ1/p5f+uXK+Y8OB8D+3dIlYJ+zxaIoUPj0XOBoOtJ6tkmxYMx97rKx7o3w9bM3FHj88tXzElaVua5s+USF34WAMLhZlz7BAlRfe6bvZB3SPVwK8E3Raz78mQSaSr5NwafHGMz9Wh6UGKhyPYMBlIl1t9bl+O2cOTDDsxp/VlhZ4EUjxSnlCmi4eSeMlwYHv/2bc3oMhAIwd238tjGkkPmZMDGG1u9QMZ3+cnJrxvvc1hG0JMezhgQlCxriI8Gs5IzXT+M+ZEDfmA==
build:
cache: true
cache_dir_list:
- $HOME/.m2
ci:
- mkdir -p shippable/testresults
# Can't do any building on a PR because the AWS variables are not available to fetch dependencies
- if [[ $IS_PULL_REQUEST != true ]]; then mvn --batch-mode clean; fi
- if [[ $BRANCH == "master" ]] && [[ $IS_PULL_REQUEST != true ]]; then mvn --batch-mode --update-snapshots -Pshippable deploy; fi
- if [[ $BRANCH != "master" ]] && [[ $IS_PULL_REQUEST != true ]]; then mvn --batch-mode --update-snapshots -Pshippable verify; fi
integrations:
notifications:
- integrationName: hipchat
type: hipchat
recipients:
- '#Everyone'
- '#Java%20Lava'
branches:
only:
- master
on_success: always
on_failure: always