mirror of https://github.com/kdabir/has.git
parent
7446f451dd
commit
fc3505077a
28
.travis.yml
28
.travis.yml
|
@ -1,28 +0,0 @@
|
|||
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
|
|
@ -198,6 +198,6 @@ to guide developers about what needs to be done to add more tools.
|
|||
If you are contributing a feature, please ensure to check current tests. Add test cases for your feature. Tests are
|
||||
executed using the excellent [bats](https://github.com/bats-core/bats-core) testing framework. Add tests and run `make test`
|
||||
|
||||
Raise the PR and **make sure the tests pass** on [Travis-CI](https://travis-ci.org/kdabir/has).
|
||||
Raise the PR and **make sure the tests pass** on [GitHub Actions](https://github.com/kdabir/has/actions).
|
||||
|
||||
### ♥
|
||||
|
|
Loading…
Reference in New Issue