From e95b7c65feb17bab14df0ef8a3363c1e3848db47 Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Mon, 8 Feb 2016 04:46:10 +0800 Subject: [PATCH] Drone CI: Share same build script with Appveyor. --- .drone.yml | 2 +- drone/build.sh | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100755 drone/build.sh diff --git a/.drone.yml b/.drone.yml index 33c82746d6..0ad03cc01c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ build: shell: msys32 commands: - export RUNTEST=$$runtest - - drone/build.sh + - ./ci-build.sh notify: irc: diff --git a/drone/build.sh b/drone/build.sh deleted file mode 100755 index ca0dd1690e..0000000000 --- a/drone/build.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -set -e - -git config --global user.email "ci@msys2.org" -git config --global user.name "MSYS2 Build Bot" - -# fetch first changed PKGBUILD file, assume at most one package touched per commit -# if you want to have your changes tested by ci then bump the pkgrel in PKGBUILD -TOUCHED=`git show -m --pretty="format:" --name-only | grep PKGBUILD | head -1` -if [ "$TOUCHED" ] -then - PKGDIR=`dirname $TOUCHED` - pushd $PKGDIR > /dev/null - if [ "$RUNTEST" = "true" ] - then - makepkg-mingw -f -s --noconfirm --skippgpcheck || true - else - makepkg-mingw -f -s --noconfirm --skippgpcheck --nocheck - fi - popd > /dev/null -else - echo Nothing to test -fi