Made travis log a bit more verbose about downloading racket or not.
This commit is contained in:
parent
8daf54f964
commit
95ec94809b
|
@ -21,7 +21,7 @@ before_install:
|
|||
- racket_commit=fail
|
||||
- racket_commit=$(curl http://www.cs.utah.edu/plt/snapshots/current/ | tr "\n" " " | sed -e 's/[ ][ ]*/ /g' | sed -e 's/^.*<span class="checksum"> *//' | sed -e 's| *</span>.*$||')
|
||||
- if test ${#racket_commit} -ne 40 || echo $racket_commit | grep [^0-9a-f]; then racket_commit=fail; fi
|
||||
- if test -e $HOME/cache/racket_commit -a "${racket_commit}" = "$(cat $HOME/cache/racket_commit)"; then echo "Using cached version of racket installer, commit ${racket_commit} == $(cat $HOME/cache/racket_commit)."; else if test -e $HOME/cache; then rm -fr $HOME/cache; fi; mkdir -p $HOME/cache; echo $racket_commit > $HOME/cache/racket_commit; curl -L -o $HOME/cache/installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-precise.sh; fi
|
||||
- if test -e $HOME/cache/racket_commit -a "${racket_commit}" = "$(cat $HOME/cache/racket_commit)"; then echo "Using cached version of racket installer, commit ${racket_commit} == $(cat $HOME/cache/racket_commit) ."; else echo "Downloading new version of racket installer, new commit = $racket_commit, old commit = $(cat $HOME/cache/racket_commit)."; if test -e $HOME/cache; then rm -fr $HOME/cache; fi; mkdir -p $HOME/cache; echo $racket_commit > $HOME/cache/racket_commit; curl -L -o $HOME/cache/installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-precise.sh; fi
|
||||
- sh $HOME/cache/installer.sh --in-place --dest ~/racket/
|
||||
- echo "LaTeX extra packages:"
|
||||
- echo "tlmgr init-usertree"
|
||||
|
|
Loading…
Reference in New Issue
Block a user