mirror-rcaloras-bash-preexec/.travis.yml
steinarvk c73767c355 upgrade bats version to bats-core 1.1.0 (#83)
This is necessary for testing with 'nounset'.
2018-12-01 22:55:45 -05:00

20 lines
425 B
YAML

language: bash
before_install:
# To install bats and test our shell/bash functions
- git clone -b "v1.1.0" "https://github.com/bats-core/bats-core.git"
- sudo ./bats-core/install.sh /usr/local
- rm -rf ./bats-core
- sudo apt-get install -qq zsh
# For bats functional tests
env:
- functional_test="true"
# command to run tests
script:
- /usr/local/bin/bats test
notifications:
email:
on_success: never