Skip to content

Commit

Permalink
Merge pull request #2 from obiba/rhaeri-dev
Browse files Browse the repository at this point in the history
Added travis files
  • Loading branch information
Ramin Haeri Azad authored Aug 16, 2018
2 parents cd66542 + ff02143 commit 2e238c9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
~ Copyright (c) 2017 OBiBa. All rights reserved.
~
~ This program and the accompanying materials
~ are made available under the terms of the GNU Public License v3.0.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<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
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<privateKey>${env.GITHUB_ACCESS_TOKEN}</privateKey>
</server>
</servers>
</settings>
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: java
addons:
apt:
packages:
- rpm
- devscripts
- fakeroot
- debhelper
deploy:
- provider: script
script: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn -Prelease deploy
skip_cleanup: true
on:
all_branches: true
tags: true
cache:
directories:
- $HOME/.cache
- $HOME/.m2
notifications:
email:
recipients:
- dev@obiba.org
on_success: change
on_failure: always

0 comments on commit 2e238c9

Please sign in to comment.