forked from yaooqinn/spark-ranger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (58 loc) · 1.54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: scala
scala:
- 2.11.8
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
before_deploy:
- mvn clean package -DskipTests=true
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
email: [email protected]
name: Kent Yao
on:
branch: master
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: target/spark-ranger-*.jar
skip_cleanup: true
on:
tags: true
matrix:
include:
- name: spark2.3-ranger-1.0
language: scala
env: $PROFILES="-Pspark-2.3 -Pranger-1.0"
- name: spark2.3-ranger-1.1
language: scala
env: $PROFILES="-Pspark-2.3 -Pranger-1.1"
- name: spark2.3-ranger-1.2
language: scala
env: $PROFILES="-Pspark-2.3 -Pranger-1.2"
- name: spark2.3-ranger-2.0
language: scala
env: $PROFILES="-Pspark-2.3 -Pranger-2.0"
- name: spark2.4-ranger-1.0
language: scala
env: $PROFILES="-Pspark-2.4 -Pranger-1.0"
- name: spark2.4-ranger-1.1
language: scala
env: $PROFILES="-Pspark-2.4 -Pranger-1.1"
- name: spark2.4-ranger-1.2
language: scala
env: $PROFILES="-Pspark-2.4 -Pranger-1.2"
- name: spark2.4-ranger-2.0
language: scala
env: $PROFILES="-Pspark-2.4 -Pranger-2.0"
script:
- mvn --no-transfer-progress clean install $PROFILES -Dmaven.javadoc.skip=true -B -V
after_success:
- bash <(curl -s https://codecov.io/bash)
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
after_failure:
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"