commit 4fe13c5ff04dd32c3e133a93d9a6d3b2d9a8a3f4 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Mon, 3 Jun 2013 09:11:45 +0200 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Mon, 3 Jun 2013 09:11:45 +0200
Updated scripts. Added travis config. diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8a0f52d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: java +env: MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" +install: /bin/true +script: mvn clean install | grep -v -E "Download(ed|ing)" +jdk: + - openjdk6 + - openjdk7 + - oraclejdk7 diff --git a/release.sh b/release.sh index c6fd2c9..f18e13c 100755 --- a/release.sh +++ b/release.sh @@ -27,8 +27,9 @@ if [ "$NAME" == "" ] || [ "$VERSION" == "" ] || [ "$QUALIFIER" == "" ] || [ "$NE exit; fi -mvn --batch-mode release:prepare -Preporting,distribution -DreleaseVersion=$VERSION -Dtag=$NAME-$VERSION -DdevelopmentVersion=$NEXT -mvn release:perform -Preporting,distribution +PROFILES=atlassian,jenkins,reporting,distribution +mvn --batch-mode release:prepare -P$PROFILES -DreleaseVersion=$VERSION -Dtag=$NAME-$VERSION -DdevelopmentVersion=$NEXT +mvn release:perform -P$PROFILES CWD=`pwd` cd $CWD/../jbehave-site/site-upload diff --git a/snapshot.sh b/snapshot.sh index 6931f01..3062443 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -10,7 +10,7 @@ if [ "$NAME" == "" ] || [ "$VERSION" == "" ]; then exit; fi -mvn clean deploy -Preporting,distribution +mvn -U clean deploy -Preporting,distribution CWD=`pwd` cd $CWD/../jbehave-site/site-upload