language: python
sudo: required
addons:
  apt:
    packages:
      - cabal-install
      - haskell-platform
      - ansible # https://github.com/travis-ci/apt-package-whitelist/issues/495
install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq ansible cabal-install haskell-platform
  - cabal update
  - cabal install shellcheck
script:
  - ansible-playbook -i localhost, -c local playbook-lpenz-nox.yml
  - grep -l '#!/bin/sh' roles/lpenz-nox/files/scripts/* | xargs ~/.cabal/bin/shellcheck

language: python
addons:
  apt:
    packages:
      - cabal-install
      - haskell-platform
      - ansible # https://github.com/travis-ci/apt-package-whitelist/issues/495
sudo: required
install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq ansible cabal-install haskell-platform
  - cabal update
  - cabal install shellcheck
  - pip install pyflakes
script:
  - ansible-playbook -i localhost, -c local playbook-lpenz-nox.yml
  - grep -l '#!/bin/sh'   roles/*/files/scripts/* | xargs ~/.cabal/bin/shellcheck
  - grep -l '#!/bin/bash' roles/*/files/scripts/* | xargs ~/.cabal/bin/shellcheck
  - grep -l '#!/usr/bin/python' roles/*/files/scripts/* | xargs pyflakes

Add pyflakes checking to CI
Add pyflakes checking to CI
