-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
58 lines (48 loc) · 1.69 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
# vim:ts=2:sts=2:sw=2:et
#
# Author: Hari Sekhon
# Date: Tue May 26 10:39:01 UTC 2015
#
# https://github.com/harisekhon/spark-apps
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
# to help improve or steer this or other code I publish
#
# http://www.linkedin.com/in/harisekhon
#
language: scala
jdk:
- oraclejdk8
- oraclejdk7
# - openjdk6
scala:
# no dep available for org.elasticsearch#elasticsearch-spark_2.9.3;2.1.0.Beta4
#- 2.9.3
- 2.10.4
# "Scala 2.11 support in Spark does not support a few features due to dependencies which are themselves not Scala 2.11 ready. Specifically, Spark's external Kafka library and JDBC component are not yet supported in Scala 2.11 builds."
# See https://spark.apache.org/docs/latest/building-spark.html for updates on this
#- 2.11.2
# This will follow make to ensure that we have built the Java submodule library required as an SBT unmanaged dep
before_install:
- make
sudo: required
notifications:
email: false
branches:
only:
- master
script:
- make test
services:
- docker
env:
global:
- ELASTICSEARCH_HOST=localhost
- ELASTICSEARCH_INDEX=myIndex
- ELASTICSEARCH_TYPE=myType
after_success:
- curl --data {build:true} -X POST https://registry.hub.docker.com/u/harisekhon/centos-github/trigger/316d1158-7ffb-49a4-a7bd-8e5456ba2d15/
- curl --data {build:true} -X POST https://registry.hub.docker.com/u/harisekhon/ubuntu-github/trigger/abd4dbf0-14bc-454f-9cde-081ec014bc48/
- curl --data {build:true} -X POST https://registry.hub.docker.com/u/harisekhon/debian-github/trigger/0cfb3fe7-2028-494b-a43b-068435e6a2b3/