Skip to content

Commit

Permalink
Merge pull request #29 from Bernardo-MG/merge_master
Browse files Browse the repository at this point in the history
Merge master
  • Loading branch information
Bernardo-MG committed Nov 22, 2015
2 parents eb19ecc + 2e7a1db commit c3dca4c
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 50 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ Desktop.ini
._*
.Spotlight-V100
.Trashes
/target/
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,32 @@ jdk:
- oraclejdk7
- openjdk7
env:
# Deployments are disabled by default
- DEPLOY=false DEPLOY_DOCS=false
# Setting the JDK which will do the deployment
matrix:
exclude:
- jdk: oraclejdk7
- jdk: oraclejdk8
include:
# Code artifacts deployed with JDK7
- jdk: oraclejdk7
env: DEPLOY=true DEPLOY_DOCS=false PULL_REQUEST=$TRAVIS_PULL_REQUEST SCM_BRANCH=$TRAVIS_BRANCH
# Documentation deployed with JDK8
- jdk: oraclejdk8
env: DEPLOY=false DEPLOY_DOCS=true PULL_REQUEST=$TRAVIS_PULL_REQUEST SCM_BRANCH=$TRAVIS_BRANCH

before_install:
# Scripts are set as executable
- chmod +x ./.scripts/create-maven-settings.sh
- chmod +x ./.scripts/deploy.sh
- chmod +x ./.scripts/deploy-site.sh
# Creates Maven settings
- ./.scripts/create-maven-settings.sh
script:
# Unit and integration tests are run
- mvn clean verify
after_success:
# Documentation deployment script
- ./.scripts/deploy-site.sh
# Code artifacts deployment script
- ./.scripts/deploy.sh
Loading

0 comments on commit c3dca4c

Please sign in to comment.