-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (33 loc) · 873 Bytes
/
.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
language: java
dist: trusty
sudo: required
script: "mvn cobertura:cobertura"
services:
- docker
jdk:
- openjdk7
cache:
directories:
- $HOME/.m2
- docker
- ~/.m2/repository
branches:
only:
- master
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
before_install:
- export CH_VERSION=$(docker run -v $(pwd):/chime bitbrain/chime:latest CHANGELOG.md version)
- export CH_TEXT=$(docker run -v $(pwd):/chime bitbrain/chime:latest CHANGELOG.md text)
- export LATEST_TAG=$(git describe --abbrev=0 --tags)
- mvn versions:set -DnewVersion=$CH_VERSION
- chmod +x deployment/before-deploy.sh
- chmod +x deployment/deploy.sh
- chmod +x deployment/after-deploy.sh
- ./deployment/before-deploy.sh
install:
- ./deployment/deploy.sh
after_success:
- ./deployment/after-deploy.sh
- bash <(curl -s https://codecov.io/bash)