forked from hygieia/hygieia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.26 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
language: java
jdk:
- openjdk8
branches:
only:
- master
- gerrit-integration
- "/^v[0-9]+\\.[0-9]+\\.[0-9]+.*$/"
sudo: required
cache:
directories:
- "$TRAVIS_BUILD_DIR/UI/node_modules"
install: true
before_script:
- sudo chown -R $USER:$GROUP $TRAVIS_BUILD_DIR
script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" = "master" ]; then mvn clean install -q -U; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then cp ./travis-utilities/deploy-snapshot.sh . && ./deploy-snapshot.sh; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then cp ./travis-utilities/release.sh . && ./release.sh; fi
notifications:
webhooks:
urls: https://webhooks.gitter.im/e/48597b0f75dd571734bc
on_success: always
on_failure: always
on_start: always
email:
recipients:
- tapabrata.pal@capitalone.com
- ragha.vema@capitalone.com
- nireesh.thiruveedula@capitalone.com
- Stephen.Hughes@capitalone.com
- jiyang.xu@capitalone.com
- brian.shriver@capitalone.com
- kaitlyn.heinzmann@capitalone.com
- Justin.Hoelscher@capitalone.com
on_success: always
on_failure: always
after_failure:
- sudo free -m -t
- sudo dmesg
after_success:
- codecov