Commit Graph

69 Commits

Author SHA1 Message Date
Greg Hendershott
3e8ce134a2 Install rackunit-lib and compiler-lib
Latter provides the `raco test` command.
2015-05-18 21:35:18 -04:00
Greg Hendershott
96953efd06 Install rackunit (revert previous commit) 2015-05-18 21:32:22 -04:00
Greg Hendershott
d7fafefbcc Install rackunit-lib instead of rackunit 2015-05-18 21:20:33 -04:00
Greg Hendershott
c6f15f1888 Fix raco command 2015-05-18 20:54:01 -04:00
Greg Hendershott
ebbdab3de8 Switch from RACKET_EDITION=MINIMAL to RACKET_MINIMAL=1
Also:

- Only support it for 6.x and HEAD. Don't bother with 5.9x, and don't
  try to support textual (it's too different).

- For the minimal case, do the raco pkg install of rackunit in
  install-racket.sh. Can conditionally test, there. Also, easier for
  users than them having to do it in .travis.yml.
2015-05-18 20:34:57 -04:00
Greg Hendershott
ce1dbbf583 Adjust script section.
Minimal Racket in 6.0+ is very minimal -- raco make and raco test
commands don't exist. Install rackunit.
2015-05-18 20:12:56 -04:00
Greg Hendershott
3cfe5074a8 Temporary hack to .travis.yml to test 2015-05-18 18:32:55 -04:00
Greg Hendershott
ae7f90507a Fix env var set 2015-05-18 18:05:47 -04:00
Greg Hendershott
31a1e466fb Excercise RACKET_EDITION in example .travis.yml 2015-05-18 17:37:31 -04:00
Greg Hendershott
c3a5f7e085 Add RACKET_EDITION to install-racket.sh
Note: I'm committing this without also updating the example .travis.yml,
in order to test the case where RACKET_EDITION is not specified at
all (e.g. for backward compatability with existing .travis.yml files).
In that case it should act like RACKET_EDITION=FULL.
2015-05-18 14:23:33 -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
Greg Hendershott
d6d7fac51a Rename env var VERSION to RACKET_VERSION. 2013-07-02 21:54:05 -04:00