language: haskell

before_install:
  # Update index.
  - cabal update

  # Fetch the latest feldspar-language from github
  - git clone -v -b master https://github.com/Feldspar/feldspar-language
  - echo "Using feldspar-language from "
  - (cd feldspar-language && git rev-parse HEAD)

  # Try installing some of the build-deps with apt-get for speed
  - ./tools/travis-cabal-apt-install feldspar-language/ ./
  - cabal install feldspar-language/

install:
  - cabal configure $mode
  - cabal build

script:
  cabal test --show-details=always

env:
  - mode="--enable-tests"


language: haskell

before_install:
  # Update index.
  - cabal update

  # Fetch the latest feldspar-language from github
  - git clone -v -b master https://github.com/Feldspar/feldspar-language
  - echo "Using feldspar-language from "
  - (cd feldspar-language && git rev-parse HEAD)

  # Try installing some of the build-deps with apt-get for speed
  - ./tools/travis-cabal-apt-install $mode feldspar-language/ ./
  - cabal install feldspar-language/

install:
  - cabal configure $mode
  - cabal build

script:
  cabal test --show-details=always

env:
  - mode="--enable-tests"


Make sure we install test dependencies
Make sure we install test dependencies
