Commit Graph

120 Commits

Author SHA1 Message Date
Greg Hendershott
de009a9e0f Merge pull request #18 from zenspider/fix/minimal-on-master
Overhaul install-racket.sh and add test.sh to validate full matrix.
2016-08-24 09:21:09 -04:00
Ryan Davis
ca38aeef46 Removed SCOPE_SNAPSHOT from .travis.yml 2016-08-13 14:44:53 -07:00
Ryan Davis
67b38da25f Overhaul install-racket.sh and add test.sh to validate full matrix.
Namely, added test.sh to run through all the possible downloads and test for validity.

Added handler for TEST=1 in install-racket.sh.

Normalize urls as much as possible and to get minimal installs working
properly. This can probably be merged to master and drop the minimal
branch entirely.

I think there is still some cleanup that can happen. The various linux
flavors can probably be unified, if not parameterized.

This patch removes SCOPE_SNAPSHOT, as it seems to point to incredibly
stale content. RELEASE does too, but there is a note that it is only
valid during release phases.
2016-08-08 16:50:59 -07:00
Greg Hendershott
0a1d589cec Merge pull request #16 from gus-massa/16-7-Release
Update the URL of the RELEASE version
2016-07-09 12:13:28 -04:00
Gustavo Massaccesi
545b287d90 Update the URL of the RELEASE version 2016-07-09 09:56:47 -03:00
Greg Hendershott
a583ee4533 Merge pull request #15 from lexi-lambda/master
Update for 6.5 installer URLs
2016-05-03 09:35:45 -04:00
Alexis King
831a87d30a Update for 6.5 installer URLs
fixes #14
2016-05-03 00:30:40 -07:00
Greg Hendershott
5caea9af7f Use sudo: false in example .travis.yml
See issue #5
2016-01-17 13:43:44 -05:00
Gustavo Massaccesi
84415da65d Add support for pre-release snapshot 2015-10-20 22:13:20 -03:00
Greg Hendershott
5e4d017204 set-of-scopes: use new racket-current-x86_64-linux.sh 2015-06-29 10:46:39 -04:00
Greg Hendershott
4c77798b3c Add Racket 6.2 to matrix in example .travis.yml 2015-06-28 09:01:19 -04:00
Greg Hendershott
c86c9fc4dc Merge pull request #8 from AlexKnauth/scope-set
support testing with scope-set expander snapshot
2015-05-18 14:04:21 -04:00
AlexKnauth
132097327c support scope-snapshot 2015-05-17 23:45:59 -04:00
Greg Hendershott
fcf3929f0b Merge pull request #7 from lkuper/patch-1
Fix duplicate `matrix` entry in .travis.yml
2015-04-04 22:33:02 -04:00
Lindsey Kuper
4a74d649b4 Fix duplicate matrix entry in .travis.yml
Closes #6.
2015-04-04 17:23:53 -07:00
Greg Hendershott
c457a94d6d Add allow_failures and fast_finish. 2015-02-22 09:25:12 -05: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
bf386bbfc9 Add Racket 6.1.1 to example .travis.yml 2014-11-04 11:07:38 -05:00
Greg Hendershott
2aa8d0304b Add Racket 6.1 to matrix 2014-08-11 21:54:23 -04:00
Greg Hendershott
b50ec04d93 Change version 6 regexp 2014-08-11 21:51:30 -04:00
Greg Hendershott
dceb7ddf35 Merge branch 'use-git-to-get-the-script' 2014-06-06 18:52:51 -04:00
Greg Hendershott
e8fd95654e Use https not ssh URL 2014-06-06 14:52:14 -04:00
Greg Hendershott
9fc629c3cc Try getting install-racket.sh using git clone instead of curl
History/background:

1. Originally, used curl with raw.github.com to get the latest version
of install-racket.sh.

2. But GitHub discourages using raw.github.com. So switched to using the
GitHub "releases" feature to make install-racket.sh available. But
that's a PITA: (a) Need to make each release, and furthermore (b)
there's no URL meaning "the latest version of the file to be
downloaded" for the .travis.yml scripts to use, so they tediously need
to be updated to fetch using the new URL for the new version.

3. OK, so now -- how about simply cloning the GitHub repo locally, and
using the travis-racket.sh from that (which of course will be the latest
version).
2014-06-06 14:42:57 -04:00
Greg Hendershott
0beb408b61 Switch example back to using release not raw. 2014-03-13 16:42:25 -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
1216a31b49 Switch example back to using release not raw. 2014-02-27 09:45:27 -05:00
Greg Hendershott
c1fb2a8612 README bash not sh 2014-02-27 09:40:14 -05: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
af60d70904 Switch example back to using release not raw. 2014-01-28 15:13:45 -05:00
Greg Hendershott
e943dff124 Special case 5.92 2014-01-28 15:07:46 -05:00
Greg Hendershott
118ab5468b Update .travis.yml with example for Racket packages. 2013-11-08 16:52:00 -05:00
Greg Hendershott
14679516e8 Change .travis.yml back to using a GitHub release.
This is a better example for people to use, than using raw.github.com.

Had changed this temporarily while working on the
`RACKET_VERSION=HEAD` feature. Switching back now that I just rolled
it into a new v0.3.
2013-10-20 05:52:35 -04: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
db9db1ee9d Add comments. Add example of multi Racket version build matrix. 2013-07-12 11:11:32 -04:00
Greg Hendershott
0529812ed2 Use v0.2 of install-racket.sh (that uses Debian Squeeze build) 2013-07-12 11:02:01 -04:00
Greg Hendershott
5f610f51dc Try using language: c
Possibly a simpler environment. In any case, `language: racket` was a
"no-op documentation" resulting in some default, since Racket not
officially supported. I _think_ the default was Ruby, so trying C as a
maybe simpler/cleaner base.
2013-07-11 23:00:02 -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
c48c5097aa Get install-racket.sh using GitHub Release not raw.github.com
Note: The -L flag for curl is important because GitHub will 302
redirect this to Amazon S3, with a signed URI with a very short
expiration.
2013-07-05 12:20:26 -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
28ddbd90eb Limit build status badge to master branch. 2013-07-02 23:20:57 -04:00
Greg Hendershott
897e0a85e0 Update README. 2013-07-02 23:09:31 -04:00
Greg Hendershott
0e341cf014 Avoid need to have install-racket.sh in the project.
Instead curl it from this repo and pipe to sh.
2013-07-02 22:01:49 -04:00
Greg Hendershott
5129205faa Less hyphen, more underline. And cowbell. More cowbell. 2013-07-02 22:00:04 -04:00