travis tuning

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

@ -16,7 +16,6 @@ install:
script: script:
- ci/build-2-install.sh - ci/build-2-install.sh
- prove ci/test-*.pl - prove ci/test-*.pl
- make dist
- ci/test-tarball.sh - ci/test-tarball.sh
after_success: after_success:
- ci/deploy-bintray.sh - ci/deploy-bintray.sh

@ -4,7 +4,6 @@
set -e set -e
make dist
VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//') VERSION=$(ls fping-*.tar.gz | sed -e 's/^fping-//' | sed -e 's/\.tar\.gz$//')
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+$ ]]; then
REPO=release REPO=release

@ -6,8 +6,9 @@
set -e set -e
set -x set -x
TARFILE=fping-*.tar.gz make dist
if [ ! -f "$TARFILE" ]; then 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 echo "tar.gz file not found." >&2
exit 1 exit 1
fi fi
@ -15,7 +16,7 @@ fi
# unarchive # unarchive
TMPDIR=$(mktemp -d --tmpdir=.) TMPDIR=$(mktemp -d --tmpdir=.)
cd $TMPDIR cd $TMPDIR
tar xf ../$TARFILE tar xf ../fping-$VERSION.tar.gz
DIRNAME=$(ls) DIRNAME=$(ls)
# build # build

Loading…
Cancel
Save