Commit Graph

29 Commits

Author SHA1 Message Date
AlexKnauth
132097327c support scope-snapshot 2015-05-17 23:45:59 -04:00
Greg Hendershott
ebbc14e18b Support Travis CI containers. Fixes #5.
Change install-racket.sh to:

- Use a RACKET_DIR env var saying where to install Racket. For backwards
  compatibility, if undefined this defaults to /usr/racket.

- Don't use sudo unless installing to /usr*.

- Download nightly snapshot builds from Northwestern not Utah.
  See https://github.com/travis-ci/travis-ci/issues/3012

- Fix the here string (which was slightly broken all along, although in
  a way that had been harmless).

Change the example .travis.yml to:

- Split env into global and matrix sections.

- Specify RACKET_DIR as a global var.

- Specify the RACKET_VERSIONs as matrix vars.

- Set PATH from RACKET_DIR (because install-racket.sh can't do this --
  it can't change the env for the .travis.yml).
2015-01-12 22:07:23 -05:00
Greg Hendershott
b50ec04d93 Change version 6 regexp 2014-08-11 21:51:30 -04:00
Greg Hendershott
e1d8cbf061 Use -L with curl for download of Racket installer.
To follow redirects, if any.
2014-03-13 16:29:43 -04:00
Greg Hendershott
aff762e0f0 Pipe to bash not sh
Script uses some "advanced" bash capabilities.
2014-02-27 09:35:52 -05:00
Greg Hendershott
d29ac874cc Support Racket 5.9x and 6.0. 2014-02-27 09:10:25 -05:00
Greg Hendershott
e943dff124 Special case 5.92 2014-01-28 15:07:46 -05:00
Greg Hendershott
0cba8d92b5 Use new abstract URL for HEAD nightly installers.
re issue #3
2013-10-20 05:39:07 -04:00
Greg Hendershott
3f073658c9 Specify /usr/racket install directory.
Although that's the default for release builds, the nightly builds
default to e.g. /usr/racket-5.90.0.9. Although that default makes sense
where people are doing side-by-side installs, we're doing an install on
a throw-away Travis VM. More basically, we need the build scripts to
find stuff consistently in /usr/racket regardless of whether this is a
release or HEAD.
2013-10-17 04:46:32 -04:00
Greg Hendershott
4be2727422 Use = not ==
The bash shebang didn't seem to have an effect (??). Instead assume sh
and use = not == in conditional.
2013-10-17 04:39:16 -04:00
Greg Hendershott
2100270687 Add bash shebang 2013-10-17 04:25:06 -04:00
Greg Hendershott
4d4ad04059 Use HEAD_VERSION var. 2013-10-17 04:17:47 -04:00
Greg Hendershott
c2fc8bef67 Support HEAD as a Racket version.
This uses a nightly build installer.

As the comments in install-racket.sh state, this has the weakness of
hardcoding a version like 5.90.0.9 because AFIK there is no abstract URL
meaning "whatever the latest version is".
2013-10-17 03:53:05 -04:00
Greg Hendershott
1a304aeeaf Use Debian Squeeze not Precise, since avail for older versions. 2013-07-11 11:23:02 -04:00
Greg Hendershott
a5e01673ea Revert 14c6542 2013-07-03 00:01:04 -04:00
Greg Hendershott
14c6542b15 Add /usr/racket/bin to PATH 2013-07-02 23:57:19 -04:00
Greg Hendershott
5129205faa Less hyphen, more underline. And cowbell. More cowbell. 2013-07-02 22:00:04 -04:00
Greg Hendershott
d6d7fac51a Rename env var VERSION to RACKET_VERSION. 2013-07-02 21:54:05 -04:00
Greg Hendershott
13c07ab947 Set Racket version in yml. 2013-07-02 18:55:50 -04:00
Greg Hendershott
536f1ef1e1 Move sudo from yml to sh. Tweak a message. 2013-07-02 18:51:03 -04:00
Greg Hendershott
e4b1b59f22 Use set -e 2013-07-02 18:11:22 -04:00
Greg Hendershott
e71398f4c7 Delete debugging ls -l 2013-07-02 15:25:30 -04:00
Greg Hendershott
3777bb9940 ls -l for debugging 2013-07-02 15:19:44 -04:00
Greg Hendershott
f3ee3f4e35 Use Racket installer for Ubuntu 64-bit 2013-07-02 15:17:07 -04:00
Greg Hendershott
b92b7a4782 With more dot slash 2013-07-02 14:55:34 -04:00
Greg Hendershott
08b9f8cddf With more intensity of flailing. 2013-07-02 14:52:38 -04:00
Greg Hendershott
1be36d3c26 Suck less. 2013-07-02 14:47:41 -04:00
Greg Hendershott
62ddbbf702 Install to /usr/racket 2013-07-02 14:42:26 -04:00
Greg Hendershott
e68f332201 Install Racket using curl instead of apt-get 2013-07-02 14:35:42 -04:00