Use correct stack in test
[opengl.git] / .travis.yml
index d2cfa2e6f409cbfb033dbb58889893066a3db023..ab2505ad990c8f144c43e89165e24398ffc0bf54 100644 (file)
@@ -37,7 +37,7 @@ before_install:
   - git submodule sync
   - git submodule update --init
   - stack --no-terminal --skip-ghc-check -j2 install --stack-yaml=stack-$TRAVIS_HASKELL_VERSION.yaml
-  - stack exec hoogle generate
+  - stack exec hoogle generate --stack-yaml=stack-$TRAVIS_HASKELL_VERSION.yaml
   - cd $TRAVIS_BUILD_DIR
   - hie --version
   # - git submodule init
@@ -50,5 +50,6 @@ before_install:
   - npm i -g javascript-typescript-langserver
 
 script:
-  - cabal configure --enable-tests
-  - cabal test --show-details=streaming
+  - stack test --no-terminal --skip-ghc-check -j2  --stack-yaml=stack-$TRAVIS_HASKELL_VERSION.yaml
+  # - cabal configure --enable-tests
+  # - cabal test --show-details=streaming