Skip to content

Commit 18e7985

Browse files
committed
[SPARK-15207][BUILD] Use Travis CI for Java/Scala/Python Linter and JDK7/8 compilation test
1 parent f453791 commit 18e7985

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.travis.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
sudo: required
17+
18+
dist: trusty
19+
20+
language: java
21+
22+
jdk:
23+
- oraclejdk7
24+
- oraclejdk8
25+
26+
addons:
27+
apt:
28+
packages:
29+
- python-numpy
30+
- python-sphinx
31+
32+
cache:
33+
directories:
34+
- $HOME/.sbt
35+
- $HOME/.m2
36+
37+
notifications:
38+
email: false
39+
40+
install: true
41+
42+
script:
43+
- export MAVEN_SKIP_RC=1
44+
- dev/check-license &&
45+
dev/lint-python &&
46+
dev/lint-scala &&
47+
dev/lint-java &&
48+
(build/mvn -DskipTests -Pyarn -Phadoop-2.3 -Pkinesis-asl -Phive -Phive-thriftserver compile | grep -v 'org/maven2/')

0 commit comments

Comments
 (0)