Support Racket 5.9x and 6.0.
This commit is contained in:
parent
af60d70904
commit
d29ac874cc
|
@ -12,10 +12,15 @@ env:
|
|||
- RACKET_VERSION=5.3.4
|
||||
- RACKET_VERSION=5.3.5
|
||||
- RACKET_VERSION=5.92
|
||||
- RACKET_VERSION=6.0
|
||||
- RACKET_VERSION=HEAD
|
||||
|
||||
before_install:
|
||||
- curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.4/install-racket.sh | sh
|
||||
# Temporarily use raw.github.com to test this. After tests OK, will
|
||||
# make a v0.5 and change this back to be an example of the right way
|
||||
# to do this.
|
||||
- curl https://raw.github.com/greghendershott/travis-racket/master/install-racket.sh | sh
|
||||
# - curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.4/install-racket.sh | sh
|
||||
|
||||
install:
|
||||
|
||||
|
|
10
install-racket.sh
Normal file → Executable file
10
install-racket.sh
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
|||
set -e
|
||||
|
||||
if [ "$RACKET_VERSION" = "HEAD" ]; then
|
||||
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
||||
URL="http://www.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-precise.sh"
|
||||
elif [ "$RACKET_VERSION" = "5.92" ]; then
|
||||
URL="http://download.racket-lang.org/installers/5.92/racket-5.92-x86_64-linux-ubuntu-quantal.sh"
|
||||
elif [[ "$RACKET_VERSION" = 5.9* ]]; then
|
||||
URL="http://download.racket-lang.org/installers/${RACKET_VERSION}/racket-${RACKET_VERSION}-x86_64-linux-ubuntu-quantal.sh"
|
||||
elif [[ "$RACKET_VERSION" = 6.0* ]]; then
|
||||
URL="http://download.racket-lang.org/installers/${RACKET_VERSION}/racket-${RACKET_VERSION}-x86_64-linux-ubuntu-precise.sh"
|
||||
else
|
||||
URL="http://download.racket-lang.org/installers/${RACKET_VERSION}/racket/racket-${RACKET_VERSION}-bin-x86_64-linux-debian-squeeze.sh"
|
||||
fi
|
||||
|
@ -19,6 +21,6 @@ sudo "$INSTALL" <<EOF
|
|||
no
|
||||
/usr/racket
|
||||
|
||||
EOF
|
||||
# EOF
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user