Upload macOS pkg builds

This commit is contained in:
pancake 2020-02-20 12:55:00 +01:00
parent 7f5f3acf40
commit 60d529a295
2 changed files with 4 additions and 2 deletions

View file

@ -131,9 +131,8 @@ before_install:
fi
after_success:
- ls -lh *.deb # Assuming you have some files in out/ that you would like to upload
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh *.deb
- bash upload.sh *.deb *.pkg
script:
- export PR_NAME=$(echo $TRAVIS_PULL_REQUEST_SLUG | cut -d'/' -f1)

View file

@ -81,6 +81,9 @@ else
# TODO: upload debian package somewhere
exit 0
else
if [ "`uname`" = Darwin ]; then
sys/osx-pkg.sh
fi
./configure --prefix=${TRAVIS_BUILD_DIR}/install > /dev/null || exit 1
make -s -j2 > /dev/null || exit 1
make install > /dev/null || exit 1