language: haskell
ghc: 7.8
script:
  - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test
after_script:
  - cabal install hpc-coveralls
  - hpc-coveralls --exclude-dir=tests tests
notifications:
  email: true
deploy:
  provider: releases
  file:
    - dist/build/docgen/docgen
    - dist/build/hierarchy/hierarchy
    - dist/build/psc-make/psc-make
    - dist/build/psc/psc
    - dist/build/psci/psci
    - prelude/prelude.purs
  skip_cleanup: true
  on:
    all_branches: true
    tags: true

language: haskell
ghc: 7.8
script:
  - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test
after_script:
  - cabal install hpc-coveralls
  - hpc-coveralls --exclude-dir=tests tests
notifications:
  email: true
deploy:
  provider: releases
  api_key: $RELEASE_KEY
  file:
    - dist/build/docgen/docgen
    - dist/build/hierarchy/hierarchy
    - dist/build/psc-make/psc-make
    - dist/build/psc/psc
    - dist/build/psci/psci
    - prelude/prelude.purs
  skip_cleanup: true
  on:
    all_branches: true
    tags: true

Use environment variable for OAuth token
Use environment variable for OAuth token
