forked from NASAWorldWind/WorldWindJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (42 loc) · 1.38 KB
/
Copy path.travis.yml
File metadata and controls
48 lines (42 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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
# Deployment has been disabled in preparation for the WorldWind project suspension on April 5, 2019
#deploy:
# # Publish API documentation to GitHub Pages
# - provider: pages
# github_token: $GITHUB_API_KEY
# local_dir: build/doc/javadoc
# skip_cleanup: true
# on:
# branch: develop
# # 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
# - provider: releases
# api_key: $GITHUB_API_KEY
# file: CHANGELOG.md
# skip_cleanup: true
# on:
# tags: true