forked from hygieia/hygieia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (41 loc) · 1.11 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
46
47
48
language: java
jdk:
- oraclejdk8
install: true
cache:
directories:
- $HOME/.m2
- $HOME/UI/node_modules
before_install:
# stop unused services and check memory
- "sudo service --status-all"
- "sudo free -m -t"
- "sudo /etc/init.d/mysql stop"
- "sudo /etc/init.d/postgresql stop"
- "#sudo /etc/init.d/couchdb stop"
- "sudo /etc/init.d/redis-server stop"
- "sudo free -m -t"
script: mvn clean install -q
notifications:
webhooks:
urls:
https://webhooks.gitter.im/e/48597b0f75dd571734bc
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
email:
recipients:
on_success: always #[always|never|change] # default: change
on_failure: always # [always|never|change] # default: always
after_failure:
# check memory and show kernel messages
- "sudo free -m -t"
- "sudo dmesg"
after_success:
- codecov
branches:
only:
- master
- gerrit-integration