Use branch name as a subfolder for code coverage reports.

This commit is contained in:
Andreas Fischer 2013-11-23 20:00:44 +01:00
parent 14a52fd747
commit fa229bb186

View File

@ -24,11 +24,11 @@ fi
# Workaround for rsync not creating target directories with depth > 1 # Workaround for rsync not creating target directories with depth > 1
mv "$LDIRNAME" "x$LDIRNAME" mv "$LDIRNAME" "x$LDIRNAME"
mkdir -p "$RDIRNAME/$TRAVIS_BUILD_NUMBER" mkdir -p "$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER"
mv "x$LDIRNAME" "$RDIRNAME/$TRAVIS_BUILD_NUMBER/PHP-$TRAVIS_PHP_VERSION/" mv "x$LDIRNAME" "$RDIRNAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER/PHP-$TRAVIS_PHP_VERSION/"
# Update latest symlink # Update latest symlink
ln -s "$TRAVIS_BUILD_NUMBER" "$RDIRNAME/latest" ln -s "$TRAVIS_BUILD_NUMBER" "$RDIRNAME/$TRAVIS_BRANCH/latest"
# Stop complaints about world-readable key file. # Stop complaints about world-readable key file.
chmod 600 "$ID_RSA" chmod 600 "$ID_RSA"