diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..0ddc064c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: java + +# define the $TOKEN environment variable with OAuth2 Token for GitHub +env: + global: + - secure: "L8/g6MW2BguawcrEVOZXjzSazJDu/iiZZ8KcH6EIaWyCpmS+FRZ0uw03QGVn\nrsDcbGe20cqSd+ZlWnE6VZ8MFv+q07xH2uJjzuyM1jnhm7+VpIAGVuAYFPsm\n4BgcyXS0ffx3FWtImrCRaKc9n/IV1soO9de+uoQY+YDxvOQzDY8=" + +# No need to run mvn install, so we use this step to print env details instead +install: mvn --version + +# the package phase is all we need. deploy/install is skipped +script: mvn -q clean verify + +jdk: + - openjdk7 + +branches: + only: + - master + - topic-ciupload + +notifications: + email: + - bernd-2013@eckenfels.net + +# Use the github site plugin to push the results to the gh-pages branch +after_success: + - mvn -q com.github.github:site-maven-plugin:site + diff --git a/pom.xml b/pom.xml index ca5a93c7..1273d71e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,14 @@ 4.0.0 + com.tagtraum gcviewer 1.32-SNAPSHOT + jar GCViewer + http://github.com/chewiebug/GCViewer/wiki @@ -58,17 +61,17 @@ - github ${maven.build.timestamp} - yyyy-MM-dd HH:mm + + ${env.TOKEN} - https://github.com/chewiebug/GCViewer - scm:git:git://https://github.com/chewiebug/GCViewer.git - scm:git:git@github.com/chewiebug/GCViewer.git + https://github.com/ecki/GCViewer + scm:git:git://https://github.com/ecki/GCViewer.git + scm:git:git@github.com/ecki/GCViewer.git @@ -83,6 +86,11 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.10 + org.apache.maven.plugins maven-compiler-plugin @@ -109,8 +117,8 @@ com.github.github - downloads-maven-plugin - 0.6 + site-maven-plugin + 0.7 @@ -120,7 +128,6 @@ org.apache.maven.plugins maven-surefire-plugin - 2.10 com/tagtraum/perf/gcviewer/TestAll.java @@ -264,21 +271,18 @@ - + com.github.github - downloads-maven-plugin + site-maven-plugin - ${project.version} release of ${project.name}. This is - a development release of the latest sources. See - https://github.com/chewiebug/GCViewer/wiki/Changelog + Travis #${env.TRAVIS_JOB_ID} build ${project.name} ${project.version} + ${project.build.directory} gcviewer_mac_${project.version}.zip gcviewer-${project.version}.zip - true - true false