The travis-meta-yaml package

[ Tags: bsd3, development, library, program ] [ Propose Tags ]

.travis.yml preprocessor


[Skip to Readme]

Properties

Versions 0.0.1.0, 0.0.1.1, 0.1.0.0
Dependencies aeson, base (>=4.7 && <4.9), bytestring, file-embed, lens, lens-aeson, optparse-applicative, regex-applicative, text, travis-meta-yaml, unordered-containers, yaml [details]
License BSD3
Author Oleg Grenrus <oleg.grenrus@iki.fi>
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Category Development
Home page https://github.com/phadej/travis-meta-yaml#readme
Bug tracker https://github.com/phadej/travis-meta-yaml/issues
Source repository head: git clone https://github.com/phadej/travis-meta-yaml
Uploaded Mon Aug 10 17:47:37 UTC 2015 by phadej
Distributions NixOS:0.1.0.0
Executables travis-meta-yaml
Downloads 336 total (7 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-10 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for travis-meta-yaml-0.1.0.0

[back to package description]

travis-meta-yaml

Build Status Hackage

Motivation

language: haskell-stack

env:
  - GHCVER=7.8.4 STACKYAML=stack-7.8.4.yaml
  - GHCVER=7.10.1 STACKYAML=stack-7.10.yaml

into

script:
- stack +RTS -N2 -RTS --no-terminal --skip-ghc-check --stack-yaml $STACKYAML test
matrix:
  include:
  - env: GHCVER=7.8.4 STACKYAML=stack-7.8.4.yaml
    addons:
      apt:
        sources:
        - hvr-ghc
        packages:
        - ghc-7.8.4
        - libgmp-dev
  - env: GHCVER=7.10.1 STACKYAML=stack-7.10.yaml
    addons:
      apt:
        sources:
        - hvr-ghc
        packages:
        - ghc-7.10.1
        - libgmp-dev
install:
- stack +RTS -N2 -RTS --no-terminal --skip-ghc-check --stack-yaml $STACKYAML setup
- stack +RTS -N2 -RTS --no-terminal --skip-ghc-check --stack-yaml $STACKYAML test
  --only-snapshot
cache:
  directories:
  - ~/.stack
  apt: true
before_install:
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
- export PATH=~/.local/bin:$PATH
- if [ ! -e ~/.local/bin/stack ]; then mkdir -p ~/.local/bin; travis_retry curl -L
  https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz
  | gunzip > ~/.local/bin/stack; chmod a+x ~/.local/bin/stack; fi
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo
  '?')]"
- stack +RTS -N2 -RTS --version
language: c
sudo: false

Features

Interpolate environment variables into addons in matrix.include:

env:
  - CABALVER=1.18 GHCVER=7.8.4
  - CABALVER=1.22 GHCVER=7.10.1
  - CABALVER=1.22 GHCVER=head

addons:
  apt:
    sources:
      - hvr-ghc
    packages:
      - cabal-install-$CABALVER
      - ghc-$GHCVER

matrix:
  allow_failures:
    - env: CABALVER=1.22 GHCVER=head

into

matrix:
  include:
  - env: CABALVER=1.18 GHCVER=7.8.4
    addons:
      apt:
        sources:
        - hvr-ghc
        packages:
        - cabal-install-1.18
        - ghc-7.8.4
  - env: CABALVER=1.22 GHCVER=7.10.1
    addons:
      apt:
        sources:
        - hvr-ghc
        packages:
        - cabal-install-1.22
        - ghc-7.10.1
  - env: CABALVER=1.22 GHCVER=head
    addons:
      apt:
        sources:
        - hvr-ghc
        packages:
        - cabal-install-1.22
        - ghc-head
  allow_failures:
  - env: CABALVER=1.22 GHCVER=head

Other

Any feature requests are welcome.