Upload macOS pkg builds
This commit is contained in:
parent
7f5f3acf40
commit
60d529a295
2 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue