fork of lux with fixes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4 KiB

  1. language: c
  2. # Supply at least one RACKET_VERSION environment variable definition
  3. # here. RACKET_VERSION is used by the install-racket.sh script
  4. # (specifed below under before_install) to select the version of
  5. # Racket to download and install.
  6. #
  7. # If you supply more than one, you can create multiple builds (a
  8. # Travis-CI build matrix resulting in multiple builds). You can use
  9. # this to test against multiple Racket versions.
  10. env:
  11. - RACKET_VERSION=6.0
  12. - RACKET_VERSION=6.0.1
  13. - RACKET_VERSION=6.1
  14. - RACKET_VERSION=6.1.1
  15. - RACKET_VERSION=HEAD
  16. before_install:
  17. - git clone https://github.com/greghendershott/travis-racket.git
  18. - cat travis-racket/install-racket.sh | bash # pipe to bash not sh!
  19. install:
  20. before_script:
  21. # Here supply steps such as raco make, raco test, etc. Note that you
  22. # need to supply /usr/racket/bin/ -- it's not in PATH. You can run
  23. # `raco pkg install --deps search-auto <<name>>` to install any required
  24. # packages without it getting stuck on a confirmation prompt.
  25. script:
  26. - /usr/racket/bin/raco make main.rkt
  27. - /usr/racket/bin/raco test -x .
  28. # NOTE: If your repo is a Racket package with an info.rkt that
  29. # includes some `deps`, the following is more elegant:
  30. #
  31. # script:
  32. # - cd .. # Travis did a cd into the dir. Back up, for the next:
  33. # - /usr/racket/bin/raco pkg install --deps search-auto --link <<name>>
  34. # - /usr/racket/bin/raco test -x -p <<name>>
  35. after_script: