Sha256: 1203a852cda65b13ef27ed83c3bc13fb9fad11c3e5fe991570b20768473c544d

Contents?: true

Size: 1.65 KB

Versions: 69

Compression:

Stored size: 1.65 KB

Contents

sudo: false              # Use the container-based infrastructure.

addons:
  apt:
    packages:
      - libgmp-dev       # Stack's GHC depends on this.

cache:
  timeout: 600           # The cache is too big to upload in 180 seconds.
  directories:
    - $HOME/.stack       # Global stack's cache.
    - $HOME/.foldercache # Per exercise `.stack-work` cache.

env:
 - RESOLVER="lts-8.21" CURRENT="YES" # Equal to each stack.yaml.
 - RESOLVER="nightly"                # Latest nightly snapshot.

matrix:
  allow_failures:             # The snapshot `nightly` is just an alias to
    - env: RESOLVER="nightly" # the newest version released. We don't want
  fast_finish: true           # Travis to fail on new incompatible releases.

before_install:
 - mkdir -p ${HOME}/bin                        # Create folder for stack.
 - export PATH="${HOME}/bin:$PATH"             # For stack
 - export PATH="${TRAVIS_BUILD_DIR}/bin:$PATH" # For {,fetch-}configlet.

install:
 - travis_retry fetch-configlet
 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 -o pack.tgz
 - tar xzf pack.tgz --wildcards --strip-components=1 -C ${HOME}/bin '*/stack'
 - stack --resolver ${RESOLVER} --install-ghc install hlint

script:
 - |
    set -e

    configlet lint .          # Check basic track configuration.
    hlint ${TRAVIS_BUILD_DIR} # Run `hlint` on the entire repository.

    # Explicit set exercises' resolver only if it's not the current one.
    if [ "${CURRENT}" != "YES" ]; then
        export SET_RESOLVER="--resolver ${RESOLVER}"
    fi

    for exercise in ${TRAVIS_BUILD_DIR}/exercises/*/ ; do
        bin/test-stub $exercise
        bin/test-all-examples $exercise
    done

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.59 tracks/haskell/.travis.yml
trackler-2.2.1.58 tracks/haskell/.travis.yml
trackler-2.2.1.57 tracks/haskell/.travis.yml
trackler-2.2.1.56 tracks/haskell/.travis.yml
trackler-2.2.1.55 tracks/haskell/.travis.yml
trackler-2.2.1.54 tracks/haskell/.travis.yml
trackler-2.2.1.53 tracks/haskell/.travis.yml
trackler-2.2.1.52 tracks/haskell/.travis.yml
trackler-2.2.1.51 tracks/haskell/.travis.yml
trackler-2.2.1.50 tracks/haskell/.travis.yml
trackler-2.2.1.49 tracks/haskell/.travis.yml
trackler-2.2.1.48 tracks/haskell/.travis.yml
trackler-2.2.1.47 tracks/haskell/.travis.yml
trackler-2.2.1.46 tracks/haskell/.travis.yml
trackler-2.2.1.45 tracks/haskell/.travis.yml
trackler-2.2.1.44 tracks/haskell/.travis.yml
trackler-2.2.1.43 tracks/haskell/.travis.yml
trackler-2.2.1.42 tracks/haskell/.travis.yml
trackler-2.2.1.41 tracks/haskell/.travis.yml
trackler-2.2.1.40 tracks/haskell/.travis.yml