2
1
mirror of https://github.com/kdabir/has.git synced 2024-11-10 21:26:50 +01:00
has/.travis.yml

26 lines
478 B
YAML
Raw Normal View History

2017-08-28 18:07:44 +02:00
language: bash
2019-05-20 19:48:08 +02:00
dist: xenial
addons:
apt:
update: true
packages:
- bc
env:
global:
- export PATH="/usr/local/bin:$PATH"
2017-08-28 18:07:44 +02:00
before_install:
2019-05-20 19:48:08 +02:00
- |
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
2017-08-28 18:07:44 +02:00
script:
- make test