language: haskell
before_install:
  # Uncomment whenever hackage is down.
  #  - mkdir -p ~/.cabal && cp config ~/.cabal/config && cabal update

  # Try installing some of the build-deps with apt-get for speed.
  - ./travis-cabal-apt-install --only-dependencies --force-reinstall $mode

install:
  - cabal configure $mode
  - cabal build

script:
  - $script

notifications:
  irc:
    channels:
      - "irc.freenode.org#haskell-lens"
    skip_join: true
    template:
      - "\x0313lens\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"

env:
  - mode="--enable-tests" script="cabal test"
  # - mode="--enable-tests -fsafe" script="cabal test"
  # - mode="--enable-tests -fdump-splices" script="cabal test --show-details=always"
  # - mode="--enable-benchmarks -fdump-splices" script="cabal bench"

language: haskell
before_install:
  # Uncomment whenever hackage is down.
  - mkdir -p ~/.cabal && cp config ~/.cabal/config && cabal update

  # Try installing some of the build-deps with apt-get for speed.
  - ./travis-cabal-apt-install --only-dependencies --force-reinstall $mode

install:
  - cabal configure $mode
  - cabal build

script:
  - $script

notifications:
  irc:
    channels:
      - "irc.freenode.org#haskell-lens"
    skip_join: true
    template:
      - "\x0313lens\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"

env:
  - mode="--enable-tests" script="cabal test"
  # - mode="--enable-tests -fsafe" script="cabal test"
  # - mode="--enable-tests -fdump-splices" script="cabal test --show-details=always"
  # - mode="--enable-benchmarks -fdump-splices" script="cabal bench"

Add a workaround for the hackage outage
Add a workaround for the hackage outage
