mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
[coverage-html] Add latest symlink.
This commit is contained in:
parent
862bc5d6dc
commit
dbf7265e19
@ -25,11 +25,14 @@ mv "$LDIRNAME" "x$LDIRNAME"
|
|||||||
mkdir -p "$RDIRNAME/$TRAVIS_BUILD_NUMBER"
|
mkdir -p "$RDIRNAME/$TRAVIS_BUILD_NUMBER"
|
||||||
mv "x$LDIRNAME" "$RDIRNAME/$TRAVIS_BUILD_NUMBER/PHP-$TRAVIS_PHP_VERSION/"
|
mv "x$LDIRNAME" "$RDIRNAME/$TRAVIS_BUILD_NUMBER/PHP-$TRAVIS_PHP_VERSION/"
|
||||||
|
|
||||||
|
# Update latest symlink
|
||||||
|
ln -s "$TRAVIS_BUILD_NUMBER" "$RDIRNAME/latest"
|
||||||
|
|
||||||
# Stop complaints about world-readable key file.
|
# Stop complaints about world-readable key file.
|
||||||
chmod 600 "$ID_RSA"
|
chmod 600 "$ID_RSA"
|
||||||
|
|
||||||
export RSYNC_RSH="ssh -4 -i $ID_RSA -o ConnectTimeout=5"
|
export RSYNC_RSH="ssh -4 -i $ID_RSA -o ConnectTimeout=5"
|
||||||
RSYNC_OPT="--recursive --times --progress"
|
RSYNC_OPT="--recursive --times --links --progress"
|
||||||
|
|
||||||
expect << EOF
|
expect << EOF
|
||||||
spawn rsync $RSYNC_OPT "$RDIRNAME/" "$USERNAME@$HOSTNAME:$RDIRNAME/"
|
spawn rsync $RSYNC_OPT "$RDIRNAME/" "$USERNAME@$HOSTNAME:$RDIRNAME/"
|
||||||
|
Loading…
Reference in New Issue
Block a user