-
Notifications
You must be signed in to change notification settings - Fork 123
/
.travis.yml
68 lines (67 loc) · 2.32 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
66
67
68
#
# (C) Copyright IBM Corp. 2015 - 2017
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
dist: trusty
branches:
except:
- "/^v[0-9]/"
language: scala
scala:
- 2.11.8
jdk:
- oraclejdk8
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
install:
- sh -x travis-shell-scripts/install-spark.sh
sbt_args:
- "-Xmx1536M"
- "-XX:+UseConcMarkSweepGC"
- "-XX:+CMSClassUnloadingEnabled"
- "-Xss2M"
script:
- sbt clean coverage test coverageReport
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
before_deploy:
- sh travis-shell-scripts/set_tags.sh
- sbt dist
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: gkFq/Heisi7AJmJ4kdQALAjun7hjdIyjUkTcyqBzBEooL4k/j+1lW3CBDdOgSW4Kn4Juq2/jVuV0iyK/G3Btwinh2H3Fgc+bKJ/QxCCV6OhDXm4aYI9FFOw696glgPZPhFccSwBHZFiKmJ7rXThL8apdLMvhRYIOR+idj3Y/PoVOxXMt8eb+L8NGENtbEqPL+7dtKQuoQsGPTjyu29Bg1XPw5UXB/Dvsbuxl5Sf3XKivo9qoEbUTAbrg3lP7YKgyGaDJ17iM5J8R25zzYgxS1MZZ5eGuQ4qty3aMzhTLV8dKPGWeNI/6fQUKxF1VnKBb9LinksEUbOhidzdQA/FActWakV/h/amBcGYYy0vXKhtrPd/y672wWae0OUyAPtlzOFxLBRb5OwAlBy5b7hD3bsIgfmAdU6ONF73H2Hu04/NGVY5OEfNFzl0RlIyN0f+oDVZmA97ODR/MMi1Hd/VyuqRw7u6Z0YYEOwE8HFETWHgRTDcbv8Xl3vDRz9fLcYb3Nj312np/oazk9VucgezozSScpPZS5hCB/7Qp3900UnTZghOcqnkWr98QqTbEl7FYMSDT/bGS8RDsI/3mWnOl3heCDucFOIfPPDs3h24SXltnKSukiR3wvyPelh4gadJvkSBYfhxdFanv2IeqN4RHttmR1GdqPebqJMOCUWCpYIQ=
file_glob: true
file: spark-bench_*.tgz
on:
tags: false
repo: SparkTC/spark-bench
branch:
- master
env:
global:
- SPARK_HOME=/home/travis/spark-2.1.1-bin-hadoop2.7