forked from functionaljava/functionaljava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 787 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
language: java
sudo: required
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service riak stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
script:
- jdk_switcher use oraclejdk7 && export JAVA7_HOME=$JAVA_HOME
- jdk_switcher use oraclejdk8 && export JAVA8_HOME=$JAVA_HOME
- ./gradlew build coverage -s -i
after_success:
- bash <(curl -s https://codecov.io/bash)