forked from apache/incubator-hivemall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (34 loc) · 1.06 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
sudo: false
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "gYAzVukFw3ssmQzfovoKTNJnzQbUhF13tksHHhe5dqQWglxdix39wY405nMmzRm/21ZpIq3OFIlI7fnHdZSGkVPS/nPPxbzUkjYUh+zkujYwsqgjZecq9vGaoarnyV9CcI+2D6qUVnArHQ02FKxirtXduGvElZ/eRIa/hBfpgn4="
#addons:
# coverity_scan:
# project:
# name: "myui/hivemall"
# description: "Build submitted via Travis CI"
# notification_email: false
# build_command_prepend: "mvn clean"
# build_command: "mvn -DskipTests=true compile"
# branch_pattern: master
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
branches:
only:
- master
- develop
before_install:
- mvn validate -Pxgboost
notifications:
email: false
script:
- mvn -q scalastyle:check test -Pspark-2.1
# test the spark-2.0 modules only in the following runs
- mvn -q scalastyle:check clean -Pspark-2.0 -pl spark/spark-2.0 -am test -Dtest=none
after_success:
- mvn clean cobertura:cobertura coveralls:report