Skip to content

Commit

Permalink
Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando González Cortés committed Dec 18, 2015
1 parent 6e8b9d1 commit 0be90c2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: java

addons:
postgresql: "9.3"

before_script:
- psql -U postgres -c "create database spatialdata"
- psql -U postgres -d spatialdata -c "create extension postgis"

script:
- mvn deploy -s deploy-settings.xml

after_failure:
- cat integration-tests/target/failsafe-reports/*.xml
- cat /tmp/testportal/portal.properties

notifications:
email:
- [email protected]
on_success: always
15 changes: 15 additions & 0 deletions deploy-settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>nfms4redd</id>
<username>${env.NFMS4REDD_USER}</username>
<password>${env.NFMS4REDD_PASSWORD}</password>
</server>
</servers>

</settings>

0 comments on commit 0be90c2

Please sign in to comment.