Skip to content

Instantly share code, notes, and snippets.

@jmini
Last active March 1, 2018 09:19
Show Gist options
  • Select an option

  • Save jmini/f8d089430d84e9b4d145cc04b1bca4bd to your computer and use it in GitHub Desktop.

Select an option

Save jmini/f8d089430d84e9b4d145cc04b1bca4bd to your computer and use it in GitHub Desktop.
asciidoctorj travis
# current version on asciidoctorj-1.6.0 branch https://github.com/asciidoctor/asciidoctorj/blob/asciidoctorj-1.6.0/.travis.yml
os: linux
dist: trusty
language: java
matrix:
include:
- jdk: oraclejdk9
dist: trusty
- jdk: oraclejdk8
- jdk: oraclejdk7
dist: precise
- jdk: openjdk7
dist: precise
- os: osx
before_script: unset GEM_PATH GEM_HOME JRUBY_OPTS
addons:
hosts:
- asciidoctorj-builder
hostname: asciidoctorj-builder
apt:
packages:
- graphviz
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi
install: ./gradlew -S -Pskip.signing assemble
before_script: unset GEM_PATH GEM_HOME JRUBY_OPTS
script: ./gradlew -S -Pskip.signing check && bash test-asciidoctor-upstream.sh
after_success: if [ "${TRAVIS_BRANCH}" = "asciidoctorj-1.6.0" -a "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_JDK_VERSION}" = "oraclejdk8" ]; then ./gradlew clean build artifactoryPublish -x test ; fi
notifications:
email: false
irc:
channels:
- "irc.freenode.org#asciidoctor"
env:
- secure: "WYU2AptOM6CIiIykVUCj2Ca4umapAl2Qxv8sQDDTNuv9gVHk1rtU42kD6oqS/YoID0QoPy8g6Ggyvy1MF0wMpL4Vvu8pLnbLiYoJtmecpLHB0UZ1UixsgWL7bHExrh+ciCjjqliN9C0rUnmiDHj9Ald2VSWH6Vvcl2YG67Pbl+c="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment