Skip to content

Commit

Permalink
scala-lint in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhliu committed Dec 31, 2015
1 parent 397a96b commit def4e70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
#- TASK=python_test
#- TASK=r_test
- TASK=scala_test
- TASK=scala_lint

# TODO, R test, distributed test, clang, more g++ versions

Expand Down
7 changes: 6 additions & 1 deletion tests/travis/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ if [ ${TASK} == "python_test" ]; then
exit 0
fi


if [ ${TASK} == "scala_test" ]; then
if [ ${TRAVIS_OS_NAME} == "osx" ]; then
LIB_GOMP_PATH=`find /usr/local/lib -name libgomp.dylib | grep -v i386 | head -n1`
Expand Down Expand Up @@ -141,3 +140,9 @@ if [ ${TASK} == "scala_test" ]; then

exit 0
fi

if [ ${TASK} == "scala_lint" ]; then
cd scala-package/core
mvn scalastyle:check || exit -1
exit 0
fi

0 comments on commit def4e70

Please sign in to comment.