1
0
mirror of https://github.com/danog/gigaclone.git synced 2024-11-30 04:29:09 +01:00

Update .travis.gigaclone

This commit is contained in:
Daniil Gentili 2015-09-29 19:49:18 +02:00
parent 707eb53344
commit 4706852aa4

View File

@ -1,23 +1,6 @@
#!/bin/bash
dir="$PWD"
git log -1 --pretty=%B | grep list && {
n=0
t() {
until [ "$n" = "60" ] || [ "$(ps aux | grep -v grep | grep wget)" = "" ]; do n=$(($n + 1)); echo Still working;sleep 60;done
killall wget
}
echo "Download everything."
wget -i $dir/urllist -x -N -q -P $dir | t
copy="$dir/copy"
mkdir $copy
mv profile.gigaset.net $copy
wget https://copy.com/install/linux/Copy.tgz
tar xvzf Copy.tgz
cd copy/x86_64
./CopyConsole -u=$user -r=$copy -p=$pass
} || {
set -e
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
@ -48,4 +31,4 @@ git push origin master &>/dev/null
cd $dir
echo "Clean up."
rm -fr $tmp
}