thon-standalone.2.7.1b3.source-code..travis.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
language: java
notifications:
email:
recipients:
- [email protected]
install: ant
os:
- linux
- osx
env:
matrix:
- CUSTOM_JDK="default"
- CUSTOM_JDK="oraclejdk7"
- CUSTOM_JDK="openjdk7"
matrix:
exclude:
# On OSX, run with default JDK only.
- os: osx
env: CUSTOM_JDK="oraclejdk7"
- os: osx
env: CUSTOM_JDK="openjdk7"
# On Linux, run with specific JDKs only.
- os: linux
env: CUSTOM_JDK="default"
before_install:
# Patch for buffer overflow bug, see https://github.com/travis-ci/travis-ci/issues/5227
- hostname
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- hostname
- cat /etc/hosts # optionally check the content *after*
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ant; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
script: ant && ant regrtest-travis