Closed jackfirth closed 3 years ago
What does it test?
At the moment, only the already-present test submodules of anything in the src/
directory and that there are no compilation errors. Future work can add more tests.
LGTM :)
@tonyg Can you comment on the static changes?
I don't understand the motivation for the static.rkt changes, I'm afraid - and in particular, wrapping the reload signal in a main module+ will break autoreloading I suspect! Jack, can you expand a bit on what led you to these changes?
Regarding the failing test, it's quite possible that the URL parsing stuff has changed in core racket since I (?) wrote the test so the test could well be wrong - the fix doesn't quite smell right.
Actually enough has changed in the CI world since I wrote this pull request that I no longer think using Travis CI is a good idea, and I certainly don't remember any of the reasoning behind the changes I made here. So I'll just close this. Using GitHub Actions for CI would probably be the better way to go nowadays.
This PR adds support for continuous testing with Travis CI and test coverage reports with Codecov. Some tweaks are included to make this easier:
/src
is now a package with aninfo.rkt
file declaring dependenciesstatic.rkt
script now only reads configuration and starts a daemon thread when itsmain
submodule is invokedpackage-source.rkt
is "fixed" (quoted because I'm not sure if my fix was correct, please check the commit)For this to work, you'll need to connect your Github account with Travis CI and Codecov and enable this repository in Travis CI. Codecov will automatically start working once Travis CI pushes coverage reports.