@ -16,7 +16,6 @@ install:
script:
- ci/build-2-install.sh
- prove ci/test-*.pl
- make dist
- ci/test-tarball.sh
after_success:
- ci/deploy-bintray.sh
@ -4,7 +4,6 @@
set -e
make dist
VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//')
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then
REPO=release
@ -6,8 +6,9 @@
set -x
TARFILE=fping-*.tar.gz
if [ ! -f "$TARFILE" ]; then
if [ -z "$VERSION" ]; then
echo "tar.gz file not found." >&2
exit 1
fi
@ -15,7 +16,7 @@ fi
# unarchive
TMPDIR=$(mktemp -d --tmpdir=.)
cd $TMPDIR
tar xf ../$TARFILE
tar xf ../fping-$VERSION.tar.gz
DIRNAME=$(ls)
# build