Move sudo from yml to sh. Tweak a message.
This commit is contained in:
parent
df4405e61d
commit
536f1ef1e1
|
@ -2,7 +2,7 @@ language: racket
|
|||
|
||||
before_install:
|
||||
- chmod u+rx ./install-racket.sh
|
||||
- sudo ./install-racket.sh
|
||||
- ./install-racket.sh
|
||||
|
||||
install:
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@ VERSION=5.3.5
|
|||
URL="http://download.racket-lang.org/installers/$VERSION/racket/racket-$VERSION-bin-x86_64-linux-ubuntu-precise.sh"
|
||||
INSTALL="./racket-$VERSION.sh"
|
||||
|
||||
echo "Downloading $URL to $INSTALL..."
|
||||
echo "Downloading $URL to $INSTALL:"
|
||||
curl -o $INSTALL $URL
|
||||
|
||||
echo "Running Racket installer..."
|
||||
echo "Running $INSTALL to install Racket:"
|
||||
chmod u+rx "$INSTALL"
|
||||
"$INSTALL" <<EOF
|
||||
sudo "$INSTALL" <<EOF
|
||||
no
|
||||
1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user