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
47 lines (40 loc) · 1.86 KB
/
.travis.yml
File metadata and controls
47 lines (40 loc) · 1.86 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
# Directs the Travis CI build service for World Wind Java
# For more information see https://docs.travis-ci.com/user/customizing-the-build/
# Required to install the jq JSON filter used to parse GitHub API results
dist: trusty
sudo: required
# 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
before_script:
# Use xvfb to run tests that require a GUI
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# 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
- provider: releases
api_key: $GITHUB_API_KEY
file: CHANGELOG.md
skip_cleanup: true
on:
tags: true
# Notify the World Wind services mailing list on every build
notifications:
email:
recipients:
secure: EF6MNNCjtBYNiRxCHOZexEo0IXDmwZduzleIRLrLjo0KG2RT+wzSmPBnhit8PwdkiKZt7B7BAHTKuZXxXE0qK83/aIM5lQNXiNzHwpQ602clJoZGERYD3C/bY++j/rAh7IKcbfBU9JvQBPioz+DbcjBhIeCW1ZoY0yYpM5J2kgJ9J9bAO2Ko1r/W4Do9l3PBZjjenF+OVqwOyHnS2WKuG+roJ6AOIM7mo+VC/SlMCl1z7HV9ksz7fnZfQ/yH3J5xk+oG/kYemyVEEWo1wyutrHqTq1fF+eNjjisfoM546t6sl1lLFWVqlQ25jMhlJZ8q2cKXip0+XACxrrO5h5L3sgP5HKhpgzUxENNXzfd8HTTfDVv6Eoi8vAY2k7UaOxtAwq/IWq8BzwLL/Iq64nr13rQ7qIabEhtfNb/wQo293iN026FriX33dOjDUBG0VuSdC66fUK6Q4h4aNf6yP867TzKXWdp6MLvr1Pz+2SyPUBiNFCx8S34ZbK8uuUXOQWd/5p72+uC+0j0zLmZTXVBq+U1QiTlKzSfh1tTjI4PvAb8MMVY27WS4I7VE4inFCZ6SHk5tlVYwyppF5d8ylQqPi2C8a1bY6+9HC3kU45mmoFC3AydyiAqq5kLUbVWvnRLrYwml1kCLLTIjPG/3DjrjKkEbHJtENY4DY7GW1MSufn4=
on_success: always
on_failure: always