Add a Travis configuration for autotesting commits

The configuration uses Nix to install dependencies.  I first tried using
just Cabal, but compiling all the dependencies takes too long for the
free tier of Travis.  Nix doesn't compile Hackage dependencies because
it has a "binary cache" with compiled versions of almost all
Hackage packages.

I do not run the GF test suite, because it seems to be in a
failing state.  This can be enabled later.

All of this will only be enabled once the Travis service is set up by
someone in the GF team with the permissions to do so.

Build results will then be automatically visible on all new commits and
pull requests.
This commit is contained in:
Mikael Brockman
2017-08-21 14:50:38 +03:00
parent 08d781833c
commit 5c73d6d7a9
3 changed files with 39 additions and 0 deletions

2
.travis.yml Normal file
View File

@@ -0,0 +1,2 @@
language: nix
script: rm -rf .git && nix-build gf.nix