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-29 08:31:11 +02:00
|
|
|
|
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:
|
2017-08-29 08:31:11 +02:00
|
|
|
- make test
|