travis tuning

pull/67/head
David Schweikert 11 years ago
parent 71616ec77e
commit e07a6e9dfc

@ -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 -e
set -x
TARFILE=fping-*.tar.gz
if [ ! -f "$TARFILE" ]; then
make dist
VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//')
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

Loading…
Cancel
Save