2
1
mirror of https://github.com/kdabir/has.git synced 2024-09-18 17:01:29 +02:00
has/.travis.yml
Virgil 96c3afe771 add coreutils and archiving utilities to known commands
- [x] command mapping `*coreutils` to `gnu_coreutils`
- [x]  add test for gnu_coreutils
- [x] 💚 add archiving packages to travis
- [x]  add test for archiving commands
2019-05-21 07:37:46 +10:00

29 lines
513 B
YAML

language: bash
dist: xenial
addons:
apt:
update: true
packages:
- bc
- pv
- xz-utils
- unar
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