Skip to content

Commit cee12a5

Browse files
authored
Restored default Travis CI notifications (NASAWorldWind#118)
- Removed the custom notifications block from .travis.yml - Notifying everyone on every build is now unnecessary, as GitHub protected branches and mandatory pull requests ensure that only successful builds make it into the develop and master branches - Install the Ant JUnit packages missing from the Travis CI environment. - Closes NASAWorldWind#113
1 parent 452f167 commit cee12a5

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
# Directs the Travis CI build service for World Wind Java
22
# For more information see https://docs.travis-ci.com/user/customizing-the-build/
33

4-
# Required to install the jq JSON filter used to parse GitHub API results
5-
dist: trusty
6-
sudo: required
7-
84
# Set up to run the Java build script per the Travis CI documentation
95
language: java
106

117
# Configure the build to use Oracle JDK 8
128
jdk:
139
- oraclejdk8
1410

11+
# 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
12+
addons:
13+
apt:
14+
packages:
15+
- ant-optional
16+
17+
# Use xvfb to run tests that require a GUI and give it some time to start
1518
before_script:
16-
# Use xvfb to run tests that require a GUI
1719
- "export DISPLAY=:99.0"
1820
- "sh -e /etc/init.d/xvfb start"
19-
- sleep 3 # give xvfb some time to start
21+
- sleep 3
2022

2123
# Build the project
2224
script:
@@ -37,11 +39,3 @@ deploy:
3739
skip_cleanup: true
3840
on:
3941
tags: true
40-
41-
# Notify the World Wind services mailing list on every build
42-
notifications:
43-
email:
44-
recipients:
45-
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=
46-
on_success: always
47-
on_failure: always

0 commit comments

Comments
 (0)