diff --git a/.travis.yml b/.travis.yml
index 9aabf6874..9c8f18188 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ install:
  - cabal-1.18 update
  - |
    if [ $GHCVER = "head" ] || [ $GHCVER = "7.8.1" ]; then
-     $CABAL install happy alex
+     cabal-1.18 install happy alex
      export PATH=$HOME/.cabal/bin:$PATH
    fi
 # - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..