Set up Travis.
diff --git a/.travis-settings.xml b/.travis-settings.xml
new file mode 100644
index 0000000..ab1e4a6
--- /dev/null
+++ b/.travis-settings.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+ http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <servers>
+ <server>
+ <id>apache.snapshots.https</id>
+ <username>${env.REPO_USERNAME}</username>
+ <password>${env.REPO_PASSWORD}</password>
+ </server>
+ </servers>
+</settings>
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..06f57bf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+dist: trusty
+language: java
+jdk:
+ - openjdk8
+install: true
+script: '[ "$TRAVIS_REPO_SLUG" == apache/rampart ] && [ "$TRAVIS_BRANCH" == trunk ] && [ "$TRAVIS_PULL_REQUEST" == false ] && goal=deploy || goal=verify ; mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true $goal'
+cache:
+ directories:
+ - $HOME/.m2
+notifications:
+ email:
+ # java-dev@axis.apache.org doesn't work here because it's not an address registered on GitHub.
+ - veithen@apache.org