enable travis

This commit is contained in:
Albert Shift 2015-03-25 19:27:35 -07:00
parent 32347ed39c
commit 8de6b8a5e6
2 changed files with 32 additions and 0 deletions

21
.travis-oss-settings.xml Normal file
View file

@ -0,0 +1,21 @@
<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">
<localRepository />
<interactiveMode />
<usePluginRegistry />
<offline />
<pluginGroups />
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.OSS_USERNAME}</username>
<password>${env.OSS_PASSWORD}</password>
</server>
</servers>
<mirrors />
<proxies />
<profiles />
<activeProfiles />
</settings>

11
.travis.yml Normal file
View file

@ -0,0 +1,11 @@
language: java
script: "mvn deploy --settings .travis-oss-settings.xml"
jdk:
- oraclejdk7
env:
global:
- secure: "cHROzI/+IY9tCgo2pqENLKSL5Tt9Ly1yD8cGnBFcT3XkDWkHq+GtMJuQK24ZKvj6oQHExcOwPrynrUIMC3oqDaiNQPO58xKGIKTS81BpVv86eoKVdfYlMRs5EJmegm0Rj1BoM7ig/6DOvu0C1aa7ki4xxmt9dGiq8BIzcllOVJw="
- secure: "WlcynYF2hI/aKw02b5Y0aHNjRX8HG4Kw9BgqeNVfw39Ptgltgtuk10pnE6W9eHesnm/DRMYXMzMqodpkYlvJkLZEBuLavQqbtMAXxuqi+U9y98zNbfI/qJNQzJi2bWzwwm4MXDbo+hGDkUrR1a69SBhcURU3Jzpb2ro4m3TvTNQ="