Enable support for Travis CI and Appveyor#200
Conversation
|
Well, the travis check fails… Is it normal? 😆 |
|
Nope! It's newly failing in my test repository as well: https://travis-ci.org/yomimono/hello-tests/jobs/334482913#L5202 . I think this is a new problem with |
|
For some reason some ubuntu images seem to use the system switch over a "clean" one :/ |
|
Naive question: why ubuntu over alpine? |
Possibly related to https://github.com/ocaml/ocaml-ci-scripts/blob/master/README-travis.md#testing-system-switches ?
A better-populated set of depexts. |
|
This should fix the problem: ocaml/ocaml-ci-scripts#219 |
|
It seems that some libraries that are test-only deps are not installed. I think the jbuild files are fine, but I'm not totally sure. |
|
Probably because your test-only deps are marked as optional. I'm not sure what you meant by that and I'm not sure what should be opam's behaviour either. |
|
Are the dependencies in the |
|
Good call, I guess? Should I also add the optional deps as required edit: to run tests, these optional deps are necessary too |
In that case (if I understand correctly) they should all be in If you had additional tests that are only built if some dependencies are present (like, a flow where you opportunistically used |
|
@yomimono if it is possible is there a problem to accept other kinds of optional dependencies here ? I'm really not sure what should be accepted (given the jbuilder circular dependencies for instance). |
|
Yes, but that won't help - including the packages in DEPOPTS just makes sure they're present for the test-with-depopts section of the test run, not overall, so if they're always required and the installer script doesn't otherwise arrange for them to be present, the initial test build will fail. Still, it's sensible to include the |
|
@jpdeplaix can you rebase on master? I moved test deps into |
|
There is a failure on 4.04.2 only for some reason: |
|
That test can fail from time to time (with a low probability), I assume that's not the problem. Thanks for the changes! 😄 |
Done using @yomimono's autoci.