-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor/Feature] Change versioning to reflect change of Maven Repos…
…itory./Add possible CI replacement Travic-CI.
- Loading branch information
1 parent
0846deb
commit c61ac98
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Source language and JDK version to use. | ||
language: java | ||
jdk: oraclejdk7 | ||
|
||
# Compile and package JAR and set build properties. | ||
install: mvn package -Dbuild.number=$TRAVIS_BUILD_NUMBER | ||
after_success: | ||
# Get files for use with build, namely the custom Maven settings.xml. | ||
- "git clone https://github.com/Q0rDev/travis-ci-resources.git target/travis" | ||
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, deploy artifacts to Maven repository. | ||
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == Q0rDev/MAdvanced ]] && [[ $TRAVIS_BRANCH == master ]] && mvn deploy --settings target/travis/settings.xml" | ||
|
||
notifications: | ||
# Disable build status email notifications, until the issue with forks is fixed. | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters