diff --git a/.travis.yml b/.travis.yml index e677b59..8a69ed1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,4 +43,5 @@ install: - ./travis_long stack --no-terminal --skip-ghc-check test --only-snapshot script: + - ./travis_long stack --no-terminal --skip-ghc-check build ide-backend-server - ./travis_long stack --no-terminal --skip-ghc-check test diff --git a/README.md b/README.md index e51c1e1..a80e63a 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,14 @@ build ide-backend. Once you have stack, run `stack install`. ## Running the tests -To run the tests, just do `stack test`. This won't run a complete -test, as it will only use your current GHC version, but that should be -sufficient for most development. We can leave it to -[travis](https://travis-ci.org/fpco/ide-backend) to try multiple GHC -versions. +To run the tests, `stack build ide-backend-server && stack test`. +This won't run a complete test, as it will only use your current GHC +version, but that should be sufficient for most development. We can +leave it to [travis](https://travis-ci.org/fpco/ide-backend) to try +multiple GHC versions. + +Note: Hopefully soon this will merely be `stack test`. See +[this issue](https://github.com/commercialhaskell/stack/issues/701). ## Hello World