From 8bcaea5bd18c4dc26319d9ee9cb5c39de0ba2ed3 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 8 Aug 2015 15:52:28 -0700
Subject: [PATCH] Travis: call test program directly rather than by cabal.

---
 .travis.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 9a67ac32b..0932bab44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,5 +35,8 @@ script:
    fi
  - cabal-$CABALVER configure --enable-tests -v2  # -v2 provides useful information for debugging
  - cabal-$CABALVER build $JOPTS --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
- - cabal-$CABALVER test
+# Since we're having problems with "cabal version changed" on ghc 7.10
+# on travis, let's temporarily just call the test program directly:
+# - cabal-$CABALVER test
+ - dist/build/test-pandoc/test-pandoc
  - cabal-$CABALVER check