rssguard/resources/scripts/.travis-install-osx.sh

27 lines
768 B
Bash
Raw Normal View History

2016-08-24 12:30:11 +02:00
#!/bin/sh
mkdir rssguard-build && cd rssguard-build
qmake ..
make
make install
2016-08-26 06:31:05 +02:00
macdeployqt rssguard.app -dmg
mv rssguard.dmg rssguard-osx.dmg
2016-08-24 12:51:12 +02:00
ls -lha
2016-08-25 22:31:51 +02:00
2016-08-26 06:31:05 +02:00
git clone -q --depth=1 --branch=build-artifacts https://github.com/martinrotter/rssguard.git ./build-artifacts
2016-08-25 22:31:51 +02:00
git config --global credential.helper "store --file=github_credentials"
echo "https://${GH_TOKEN}:@github.com" > github_credentials
git config --global user.email "rotter.martinos@gmail.com"
git config --global user.name "martinrotter"
2016-08-26 06:31:05 +02:00
ls -lha
curl --upload-file ./rssguard-osx.dmg https://transfer.sh/rssguard-osx.dmg --silent >> ./build-artifacts/macosx-builds.txt
2016-08-25 22:31:51 +02:00
cat ./build-artifacts/macosx-builds.txt
2016-08-26 06:31:05 +02:00
cd ./build-artifacts
git add *.txt
2016-08-25 22:31:51 +02:00
git commit -m "New files."
git push origin build-artifacts