-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
29 lines (29 loc) · 1.31 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
language: java
jdk:
- oraclejdk8
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/
services:
- mysql
- postgresql
before_script:
- mysql -e "create database IF NOT EXISTS autosleep;" -uroot
- psql -c 'create database autosleep;' -U postgres
script:
- ./gradlew check -Dintegration-test=true
branches:
only:
- master
- develop
- /^feature-.*$/
- /^fix-.*$/
after_success:
- ./gradlew jacocoRootReport coveralls
notifications:
slack: #cloudfoundry slack
secure: "ZNPoPCB2WDEKBjv1b2VlHGAcsu2dZ03yEsqJay4ibk5lLHYGWrosAt89moeniBoq14Jr1VSqetWhmHNDXb6vRHMRoduvg7aXQmi6lmHtpc0J3WPZSKZ8qR1FWkD9aA6CbNo/TjDEE/IsorvSvGSTLk5+TLRK9wABZXlBx5dZ/LWvj9G9W9O0KddVx3wmgmoK/xNznkiTganjy3/jcidI4j7hj41hIsYFvpNPit3qAEMNb2ycZLt+u/H7c+TiadCzGHcnK1RUy8Vgsr+IFPYcD8Xq6XDYFBIX+p/nsErtoOsS0bAWB1p63cNgF0UxRJZnL3+8r155Q3HqPT7xPFTv8PFcPnfnv3quns95BSQikwS0b5bzHQr/Xjy17FFeemWsDkZvM9J/Op7NyzRgrZHEiW0qmzFnw0Gcl8t4C2Vpl9YE8H7lwNHg3gkJlw5OlSQGgmksIe88iPjk27S9HBYde2Gk4PEBru1dgEGgzWlvT8zUtxy4a7eQLg0q73j4aXIXmb3qGb7Fl3dRbGhJl2ANoeTxOXzMVBc94MUFVmhvAKUOAcW3VX3zUlCzVrl8oH/ccaBTqLIQ95qFOqUFAylVpLrv0W/Ql+vOEdnPgdd7Vn34Z1H5sgQNv1abE25ks6VzE/bDdsEZ4HASqS1GR1dj6iCAM9v86MUGHG+iniUYJkQ="