Share links.

This commit is contained in:
Martin Rotter 2016-08-25 22:31:51 +02:00
parent 2718156c70
commit e53b973ae0
2 changed files with 42 additions and 34 deletions

View File

@ -2,31 +2,25 @@ language: cpp
osx_image: xcode7.3
sudo: required
dist: trusty
os:
- linux
- osx
- linux
- osx
compiler:
- gcc
branches:
except:
- build-artifacts
- gcc
branches:
only:
- master
- dev
git:
submodules: false
depth: 40
before_install: ./resources/scripts/.travis-before-install.sh
before_install: "./resources/scripts/.travis-before-install.sh"
install: true
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./resources/scripts/.travis-install-linux.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./resources/scripts/.travis-install-osx.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./resources/scripts/.travis-install-linux.sh
; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./resources/scripts/.travis-install-osx.sh
; fi
env:
global:
secure: ehouipwNC5wa2qbFnPKaRzI0BEm85o6l6ZVS6KPnosbd5tlH7DYqr/wO0Qr4N43Z4m6gDXTccHAgb2+SrQB7brWV06/00F2LPj5i6QPPTyV1ztpatzhrRZ477zFTzinihqroMSOpx9dctaWY+Fwb6ge5Gd57qmiLCwomJomjWwhizwws2tgZ5XfU1OXAGAolwy2k5/3zE2T/qtnqJvKEYrECY68l1WjYQ1W168mDcErJXMwh0xhvFPcDU/L1/4TfeafSdqZe4W2uxO3qwnxl3rT4B42tVk6MyvrnobYQC8x7OQg40b2k79h83AO5ckjy7xpgI8NtJ7171l2hBGPgESeyR4oHqiuf8EFY3yvurZz5o08MdgDxpsGfSNCAaKw3p13bxdOXUysnazuZN/gFTg610yY7hiMz4MKw7T7YLTssVP8myt1KzvvQy1VqUSjWTjU+WhzxxJbvFgL+WFfsMofumLUBRp9bcPu3a1wcdn4vKy3MPILhPOztCAstVrU9WLaY+zkSVOm1RwLGySQbnScjJvKN6ATNfk4FEnEFGJE+UHKqg4hyLnuVjx5m24AbwKIrLXLPQzIYoadTgA45R97t6ChHiR/bnTxkCP/aIg3TajX5H+bTqnLAk3KCnH3OVpNgA/6KvSnX3CHEY97yVWi+XRMpnLey5cRwKGuWXfM=

View File

@ -4,6 +4,20 @@ mkdir rssguard-build && cd rssguard-build
qmake ..
make
make install
macdeployqt rssguard.app -dmg
macdeployqt rssguard-osx.app -dmg
ls -lha
curl --upload-file ./*.dmg https://transfer.sh/rssguard.dmg
git clone -q --depth=1 --branch=build-artifacts https://github.com/martinrotter/rssguard.git
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"
curl --upload-file ./*.dmg https://transfer.sh/rssguard.dmg --silent >> ./build-artifacts/macosx-builds.txt
cat ./build-artifacts/macosx-builds.txt
cd ./rssguard-artifacts
git add *.*
git commit -m "New files."
git push origin build-artifacts