Add support for pre-release snapshot

This commit is contained in:
Gustavo Massaccesi 2015-10-20 17:28:43 -03:00
parent 5e4d017204
commit 84415da65d
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
language: c
# Optional: To use Travis CI's newer container infrastucture,
# Optional: To use Travis CI's newer container infrastructure,
# un-comment the following line. (Also be sure RACKET_DIR is set to
# somewhere like ~/racket that doesn't require sudo.)
#
@ -21,6 +21,8 @@ env:
# Supply more than one RACKET_VERSION (as in the example below) to
# create a Travis-CI build matrix to test against multiple Racket
# versions.
#
# The RELEASE snapshot is only available during the release process.
- RACKET_VERSION=5.3.4
- RACKET_VERSION=5.3.5
- RACKET_VERSION=5.92
@ -30,6 +32,7 @@ env:
- RACKET_VERSION=6.2
- RACKET_VERSION=HEAD
- RACKET_VERSION=SCOPE_SNAPSHOT
- RACKET_VERSION=RELEASE
# You may want to test against certain versions of Racket, without
# having them count against the overall success/failure.
@ -37,6 +40,7 @@ matrix:
allow_failures:
- env: RACKET_VERSION=HEAD
- env: RACKET_VERSION=SCOPE_SNAPSHOT
- env: RACKET_VERSION=RELEASE
# Fast finish: Overall build result is determined as soon as any of
# its rows have failed, or, all of its rows that aren't allowed to
# fail have succeeded.

View File

@ -7,6 +7,8 @@ if [[ "$RACKET_VERSION" = "HEAD" ]]; then
URL="http://plt.eecs.northwestern.edu/snapshots/current/installers/racket-test-current-x86_64-linux-precise.sh"
elif [[ "$RACKET_VERSION" = "SCOPE_SNAPSHOT" ]]; then
URL="http://www.cs.utah.edu/~mflatt/tmp/scope-snapshot/installers/racket-current-x86_64-linux.sh"
elif [[ "$RACKET_VERSION" = "RELEASE" ]]; then
URL="http://pre-release.racket-lang.org/installers/racket-current-x86_64-linux-ubuntu-precise.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.* ]]; then