diff options
author | Tad Fisher <tadfisher@gmail.com> | 2018-03-04 11:26:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-04 11:26:13 -0800 |
commit | f88e6a338cd976bfa4e14567c1f3024ddc58ab7d (patch) | |
tree | 4549da42122c877121c38b2956abf5fbd479c554 /.travis.yml | |
parent | 0737f1f3e8ad8e31b7b5d7eb9b6a6a21eb3781e9 (diff) | |
parent | 948c2f04cbaf2f065b0c21b80de82f1f0c946e54 (diff) |
Merge pull request #56 from tadfisher/develop
Merge branch 'develop' into master
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 4122f71..d548c3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,45 @@ dist: trusty +sudo: false language: bash +env: + - PASS_VERSION=1.7.1 + - PASS_VERSION=master + addons: apt: - sources: - - debian-sid packages: + - cabal-install - expect + - ghc - oathtool - - shellcheck before_script: - - wget https://git.zx2c4.com/password-store/snapshot/password-store-1.7.tar.xz - - tar -xvf password-store-1.7.tar.xz - - ln -s password-store-1.7/src/password-store.sh pass + - wget https://git.zx2c4.com/password-store/snapshot/password-store-$PASS_VERSION.tar.xz + - tar -xvf password-store-$PASS_VERSION.tar.xz + - ln -s password-store-$PASS_VERSION/src/password-store.sh pass + - if [ ! -f "${HOME}/.cabal/bin/shellcheck" ]; then cabal update; cabal install ShellCheck; fi + - ln -s "${HOME}/.cabal/bin/shellcheck" shellcheck - export PATH=$PATH:. - export TEST_OPTS="-v" install: true +before_cache: + - rm $HOME/.cabal/logs/build.log + +cache: + directories: + - $HOME/.cabal + script: - make lint - cd test && make all + +notifications: + email: + recipients: + - tadfisher@gmail.com + on_success: never + on_failure: always |