diff --git a/.travis.yml b/.travis.yml index 5bdd29d..7a054b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,11 @@ before_install: - export PATH=/opt/ghcjs/8.2/bin:$PATH - export PATH=$TRAVIS_BUILD_DIR/node_modules/.bin:$PATH - du -sh $HOME/.ghcjs $HOME/.ghc $HOME/.cabal/bin $HOME/.cabal/lib $HOME/.cabal/share + - rm -f ~/.cabal/config + - cabal update # to ensure the config exists + - 'fgrep hackage-ghcjs-overlay.nomeata.de/ $HOME/.cabal/config || + echo -e "repository ghcjs-overlay\n url: http://hackage-ghcjs-overlay.nomeata.de/\n secure: True\n root-keys:\n key-threshold: 0" >> ~/.cabal/config' + - cat ~/.cabal/config - cabal update jobs: