Skip to content
Permalink
Browse files

JaCoCo deployment from snapshot

  • Loading branch information...
Godin committed Feb 19, 2016
1 parent 3f4c9f0 commit 43af8d272916d0aac02c7a0cd939e4cebc08ebc3
Showing with 13 additions and 3 deletions.
  1. +13 −3 .travis.sh
@@ -36,11 +36,21 @@ git checkout $BRANCH2
cd $CHECKOUT_PATH1
python generator/eclemmasite.py $RESULT_DIR

cd $RESULT_DIR

# Content of "jacoco" directory must be published from https://github.com/jacoco/jacoco/tree/gh-pages
rm -rf jacoco
TEMP=/tmp/jacoco-snapshot
mkdir $TEMP
wget -O $TEMP/download.zip "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.jacoco&a=jacoco&e=zip&v=LATEST"
unzip $TEMP/download.zip -d $TEMP

TARGET=$RESULT_DIR/jacoco/trunk
mkdir $TARGET
cp $TEMP/index.html $TARGET
cp -r $TEMP/doc $TARGET/doc
cp -r $TEMP/test $TARGET/test
cp -r $TEMP/coverage $TARGET/coverage


cd $RESULT_DIR
git init
git add .
git commit -m "Automatic deployment"

0 comments on commit 43af8d2

Please sign in to comment.
You can’t perform that action at this time.