2
0
Fork 0
mirror of https://github.com/kdabir/has.git synced 2024-11-11 14:40:48 +01:00
has/.travis.yml
2019-05-20 23:18:08 +05:30

25 lines
478 B
YAML

language: bash
dist: xenial
addons:
apt:
update: true
packages:
- bc
env:
global:
- export PATH="/usr/local/bin:$PATH"
before_install:
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
batstmp="$( mktemp -d -p /tmp bats-core.XXXXX)"
pushd "${batstmp}"
curl -sSLO https://github.com/bats-core/bats-core/archive/master.zip
unzip -qo master.zip
sudo bash "${batstmp}"/bats-core-master/install.sh /usr/local
popd
fi
script:
- make test