Skip to content

Commit

Permalink
Travis like a b0ss
Browse files Browse the repository at this point in the history
  • Loading branch information
juanlatorre committed Jun 7, 2017
1 parent afc8c8d commit 0baf04e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ script:
- cp ../cuarzobrowser.desktop .
- cp ../cuarzobrowser.png cuarzobrowser.png
- cd ..
- sudo make INSTALL_ROOT=appdir install ; sudo chown -R $USER appdir ; find appdir/
- sudo make DESTDIR=appdir install ; sudo chown -R $USER appdir ; find appdir/

after_success:
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
Expand All @@ -29,4 +29,12 @@ after_success:
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/cuarzobrowser -bundle-non-qt-libs
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/cuarzobrowser -appimage
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- curl --upload-file ./Cuarzo_Browser*.AppImage https://transfer.sh/Cuarzo_Browser-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- ls -lh ./Cuarzo_Browser*.AppImage
- mv ./Cuarzo_Browser*.AppImage CuarzoBrowser-continuous-x86_64.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash ./upload.sh CuarzoBrowser-continuous-x86_64.AppImage

branches:
except:
- #Do not build manually uploaded files to Github Releases
- /^(?i:continuous)$/
8 changes: 7 additions & 1 deletion cuarzobrowser.pro
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@ DISTFILES += \
.travis.yml \
default-icon.png \
cuarzobrowser.desktop \
cuarzobrowser.png
cuarzobrowser.png \
LICENSE \
README.md

mac {
TARGET = CuarzoBrowser
}

0 comments on commit 0baf04e

Please sign in to comment.