You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Directs the Travis CI build service for WorldWind Java
# For more information see https://docs.travis-ci.com/user/customizing-the-build/
# Set up to run the Java build script per the Travis CI documentation
language: java
# Configure the build to use Oracle JDK 8
jdk:
- oraclejdk8
# Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages
addons:
apt:
packages:
- ant-optional
# Use xvfb to run tests that require a GUI and give it some time to start
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
# Build the project
script:
- ant build
# Deploy build artifacts. Travis does not invoke this step for pull request builds
deploy:
# Create CHANGELOG.md in the current directory
- provider: script
script: ./travis/changelog.sh >> CHANGELOG.md
skip_cleanup: true
on:
tags: true
# Create a GitHub release and publish CHANGELOG.md to the release assets