Initial commit.
This commit is contained in:
commit
a84e47e80e
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
compiled/
|
||||
.DS_Store
|
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
Experimenting with using Travis for a Racket project.
|
||||
|
||||
Travis doesn't have built-in support for Racket. However it seems this
|
||||
should be do-able, anyway, by using `before_install` to install
|
||||
Racket?
|
8
main.rkt
Normal file
8
main.rkt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang racket
|
||||
|
||||
(define (plus1 x)
|
||||
(add1 x))
|
||||
|
||||
(module+ test
|
||||
(require rackunit)
|
||||
(check-equal? (plus1 1) 2))
|
6
travis.yml
Normal file
6
travis.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
before_install:
|
||||
- sudo apt-get install -qq racket
|
||||
|
||||
script:
|
||||
- raco make
|
||||
- raco test -x .
|
Loading…
Reference in New Issue
Block a user