Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added initial .travis.yml #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: java
# specifying other dists doesn't make sense because `trusty` doesn't have `oraclejdk8` (fails due to `Sorry, but JDK '[oraclejdk8]' is not known.`) which is the only supported JDK currently. Testing on Mac OSX doesn't make too much sense since it will run the same `maven` based build routine.

jdk:
- oraclejdk9
# list of available JDKs for trusty is at https://docs.travis-ci.com/user/reference/trusty/#JVM-(Clojure%2C-Groovy%2C-Java%2C-Scala)-images

#env:
#- MAVEN_OPTS="-Xmx6g -Xms2g"

install:
- sudo add-apt-repository --yes ppa:cwchien/gradle
# the gradle version 4.0.1 provided by Travis causes `cannot specify both --source-path and --module-source-path` which is fixed in 4.1<ref>https://github.com/gradle/gradle/issues/2537</ref>
- sudo apt-get update
- sudo apt-get install --yes gradle libgtk2.0-dev libxtst-dev libgtk-3-dev
# the gradle binary provided by Travis is in /usr/local/bin/
- which -a gradle

script:
- /usr/bin/gradle --stacktrace