Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment out failing tests, fixes #217 #221

Merged
merged 4 commits into from
Apr 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ before_install:

install:
# Build the package, and its tests and its docs (stack)
- if [ "$BUILD" == "stack" ]; then stack --resolver="lts-10.0" install happy; fi # hardcoded resolver because happy no longer builds on lts-8.0
- if [ "$BUILD" == "stack" ]; then stack --resolver="$RESOLVER" --no-terminal --install-ghc test --no-run-tests --haddock --no-haddock-deps; fi
# Build the package and its tests (cabal)
- if [ "$BUILD" == "cabal" ]; then ~/.local/bin/cabal update; fi
Expand Down
2 changes: 1 addition & 1 deletion src/Data/HaskellSource.hs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ compileFileWithArgs args f = do
(exitCode, out, err) <- lift $ readProcessWithExitCode "ghc" args' ""
case (exitCode, out ++ err) of
(ExitSuccess, []) -> return ()
(ExitSuccess, msg) -> multilineWarn msg
(ExitSuccess, msg) -> return () -- TODO: output warnings via 'multilineWarn msg'?
(_ , []) -> fail $ printf "could not compile %s" (show f)
(_ , msg) -> multilineFail msg