Open dsyme opened 10 years ago
Hi,
I may be missing something, but from a quick look at the log it seems that the library itself builds fine, but an attempt to build and run the tests fails because the tests use type providers to get type information from a database, and a connection string to a database providing tables of the appropriate types needs to be given. That is, it isn't clear to me that there is any OSX/Linux problem to solve here.
If there is a standard workaround for this (e.g. to say that the tests require a SQL Server DB to be configured with some schemas loaded into some tables) I'm happy to adopt it.
I guess either change it to only use "build.sh Build" (so no tests run), or use "build.sh RunTests" but somehow disable the tests that need a database. The former if there are no useful tests that are database independent?
I think there are some useful database-independent (sanity check) tests. One possibility would be to create a separate db-dependent tests project and a separate build target that builds/runs that. I don't know what travis is doing, though - build All?
It's doing "build RunTests", see https://github.com/fsprojects/FSharp.Linq.ComposableQuery/blob/master/.travis.yml#L15
See https://travis-ci.org/fsprojects/FSharp.Linq.ComposableQuery/builds
I'm not sure what the problem is, but it would be great to make sure this builds and passes tests on OSX/Linux