fsprojects / FSharp.Linq.ComposableQuery

Compositional Query Framework for F# Queries, based on "A Practical Theory of Language-Integrated Query"
http://fsprojects.github.io/FSharp.Linq.ComposableQuery/
MIT License
67 stars 13 forks source link

The Travis build is failing (for Linux/OSX) #9

Open dsyme opened 10 years ago

dsyme commented 10 years ago

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

jamescheney commented 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.

dsyme commented 10 years ago

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?

jamescheney commented 10 years ago

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?

dsyme commented 10 years ago

It's doing "build RunTests", see https://github.com/fsprojects/FSharp.Linq.ComposableQuery/blob/master/.travis.yml#L15