Travis for `example` dir
lmatteis opened this issue · 8 comments
So I'd like to test the example
project (which is meant to be a separate project with its own package.json) using travis. Any thoughts on configuring this? @nickbalestra
why not making this into a monorepo? Perhpash using something like lerna for example..
Othwerwise You can set a script field in the travis yaml config:
something like:
...
script: cd npm install && npm test && cd ../example && npm install && npm test
Here a cool post about it
Thanks! That works. I'm getting the cycle/time problem also on travis https://travis-ci.org/cyclejs-community/redux-cycle-middleware/builds/196599833#L1046
Reference PR: #18
Weird, as I see it was correctly installed -> https://travis-ci.org/cyclejs-community/redux-cycle-middleware/builds/196599833#L664
Maybe it's something with how mocha runs/compiles the code? Not sure
Maybe @goshakkk @Widdershin can help solve the mystery?
This is closed as it was a problem with cyclejs/time and the fact that it was compiling into Index.js rather than index.js