mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 10:37:26 -07:00
Set up Travis build matrix
This commit is contained in:
parent
bfb2d79e54
commit
f9c8a255be
3 changed files with 46 additions and 33 deletions
|
@ -51,17 +51,13 @@ do
|
|||
rm "shellcheck"
|
||||
done
|
||||
|
||||
if [ "$TRAVIS_OS_NAME" = 'osx' ];
|
||||
then
|
||||
brew install gnu-tar
|
||||
for file in *.darwin-x86_64
|
||||
do
|
||||
base="${file%.*}"
|
||||
cp "$file" "shellcheck"
|
||||
gtar -cJf "$base.darwin.x86_64.tar.xz" --transform="s:^:$base/:" README.txt LICENSE.txt shellcheck
|
||||
rm "shellcheck"
|
||||
done
|
||||
fi
|
||||
for file in *.darwin-x86_64
|
||||
do
|
||||
base="${file%.*}"
|
||||
cp "$file" "shellcheck"
|
||||
tar -cJf "$base.darwin.x86_64.tar.xz" --transform="s:^:$base/:" README.txt LICENSE.txt shellcheck
|
||||
rm "shellcheck"
|
||||
done
|
||||
|
||||
for file in ./*
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue