Skip to content

Commit

Permalink
fix #695, enable build for jdk9 (#709)
Browse files Browse the repository at this point in the history
Update travis so we build on both jdk8 and jdk9.
  • Loading branch information
brharrington committed Oct 12, 2017
1 parent c3ebaa1 commit 095c91f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
@@ -1,6 +1,10 @@
language: scala
jdk:
- oraclejdk8
matrix:
include:
- jdk: oraclejdk8
env: BINTRAY_PUBLISH=true
- jdk: oraclejdk9
env: BINTRAY_PUBLISH=false
scala:
- 2.12.3
script:
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildViaTravis.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# This script will build the project.

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$BINTRAY_PUBLISH" == "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
make build
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
Expand Down

0 comments on commit 095c91f

Please sign in to comment.