summaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)Author
2019-10-19Travis: remove last Travis buildsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-18Travis: remove redundant buildsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-14GitHub Actions: first CI/CD build for Mac based on GitHub ActionsGravatar Dirk Hohndel
This feature is in beta right now and might change without notice, but instead of dealing with the broken Travis Mac builds, this does seem progress. The build artifact seems to work, but it's a bit more painful to get to. Go to https://github.com/Subsurface-divelog/subsurface/actions and click on the corresponding run - it's then in the top right corner under Artifacts. The one oddity is that after unzipping the file you need to manually make Contents/MacOS/Subsurface executable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-14build-system: Subsurface-mobile now requires Qt 5.11Gravatar Dirk Hohndel
This is one of the side effects of switching to Kirigami 5.62 - but since we build our mobile versions with Qt 5.12 and Qt 5.13, this really isn't an issue. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-14Stop support Qt versions before 5.9Gravatar Dirk Hohndel
There's just no point to testing these outdated versions. Everything we build is now Qt 5.9 or newer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-09-05Travis: build Subsurface AppImage against Qt 5.12Gravatar Dirk Hohndel
For this we need our own hand crafted trusty container with Qt 5.12, including QtWebKit and an updated cmake and libdbus, as well as already build googlemaps plugin, grantlee and libgit2. At the same time stop uploading the Subsurface AppImage in the traditional trusty build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-05-19Travis: build Mac against macOS 10.12Gravatar Dirk Hohndel
This way the Subsurface.app.zip should run on all versions of macOS that Qt supports. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-05-18Travis: remove old Windows buildGravatar Dirk Hohndel
The container build should now handle all we need. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-05-05Travis: disable failing qt56 buildGravatar Dirk Hohndel
For some reason openSUSE 42.3 updates keep timing out, causing these builds to fail. Having a Qt5.5 and a Qt5.7 build should be sufficient for our purposes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-03-18Travis: don't build all branchesGravatar Dirk Hohndel
Otherwise PRs from people who create branches in the main repo will always trigger two builds. The second entry should ensure that we do build releases. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-03-16TravisCI: there are only VM builds nowGravatar Rolf Eike Beer
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
2018-12-22Travis: use homebrew addon instead of doing it manuallyGravatar Dirk Hohndel
This should make our mac builds on Travis faster. This also switches to the latest xcode / VM image which helps speed things up (less to update for Homebrew). It turned out that that app directories that we were creating here didn't run for people, anyway, so why even bother with an old image. We still create / upload that image (simply in order to be able to peek into it in case something goes wrong). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-10-07Travis: add Windows build in a containerGravatar Dirk Hohndel
I expect this to become the default way to test Windows builds and create installers on Travis. The idea is that instead of downloading the pre-built MXE binaries we might as well use a container that has all this installed and can be used locally to test if things fail on Travis; which will allow us to have the exact same environment for testing locally as runs on Travis. At this point the container used is way too big - more effort needs to be spent on shrinking it. Right now this only deals with Subsurface and not with smtk2ssrf. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-11Travis: add Qt 5.9 testingGravatar Dirk Hohndel
This is done via Fedora 27 which seemed the easiest way to get a 5.9 based distro. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-11Travis: add Qt 5.7 testingGravatar Dirk Hohndel
This is done via Fedora 26 which seemed the easiest way to get a 5.7 based distro. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-10Travis: add Qt 5.6 testingGravatar Dirk Hohndel
This is done via OpenSUSE Leap/42.3 which seemed the easiest way to get a 5.6 based distro. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-09Travis: update to macOS 10.11 based imageGravatar Dirk Hohndel
Qt 5.11 requires macOS 10.11. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-06-18Travis: build mobile on Linux with newer gccGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-05-19Travis: add secondary Linux build targetGravatar Dirk Hohndel
The goal is to reduce the overall wall clock time of our test builds. This secondary Linux target uses the no-sudo container setup with a Qt 5.10.1 backport and tests the build without BT support as well as the mobile build (but not the full desktop build and doesn't create an AppImage as the pre-built Qt5.10.1 is missing QtWebKit). In exchange we remove the no-bt and mobile build from the existing linux target. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-04-24Travis: add building for iOSGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-03-22Travis: test build against Qt 5.5Gravatar Dirk Hohndel
We do this in a docker environment to make things fast and easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-02-24smtk-import: Support SmartTrak import in travis buildsGravatar Salvador Cuñat
1.- Include needed dependencies (glib-2.0 and mdbtools) in .travis.yml 2.- Call smtk2ssrf-build.sh script *after* subsurface is done and AppImage is built, as the script will override subsurface's binary. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2017-12-26Travis: try another work aroundGravatar Dirk Hohndel
The previous hack got us to see that the error was a write error to stdout and based on https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-321777557 setting filter_secrets: false will work around that issue. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-16android: Add android build on travis-ciGravatar Anton Lundin
This adds a android-apk-build which runs on travis-ci. This is using a quite ugly trick, building in a docker container, basically just to get a newer cmake. The cmake in trusty is way to old to work with android builds. A good side-effect is that this is a complete copy-paste for anyone who would like to build android-binaries them self on Linux. All the uglyness is hidden away in a docker container. Signed-off-by: Anton Lundin <glance@acc.umu.se>
2017-11-14Travis: add Mac buildGravatar Dirk Hohndel
This adds a -skip-googlemaps option to the build script since for some reason trying to build the googlemaps plugin in the Travis mac environment causes an error with a missing stack-protector-strong feature. The build relies on a custom build Qt and a cached homebrew environment. And the result is of course not a DMG with a signed app but a zip file with an unsigned app - so it's a bit harder to consume. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-11Travis: also build an MXE/Windows installerGravatar Dirk Hohndel
In the process, simplify our dependency a bit by no longer building against libssh2 (we don't support ssh based authentication for git on Windows) and libcurl (since it's proxy implementation doesn't appear to actually work on Windows, anyway). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-10Travis: avoid duplicated buildsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-09Travis: add missing dependencyGravatar Dirk Hohndel
This is a fairly big hammer to get the missing dependencies installed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-09Travis: don't use relative directoriesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-09Travis: move deployment into scriptGravatar Dirk Hohndel
And no longer use the Travis deploy mechanism - uploadtool does it all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-09Travis: move the before_install step into a scriptGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-09Travis: start restructuring the build processGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-07Include git SHA as part of the AppImage filenameGravatar Simon Peter
Closes #787 Signed-off-by: Simon Peter <probono@puredarwin.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-06Travis AppImage: hide warning messages about GStreamer pluginsGravatar Dirk Hohndel
We don't use GStreamer and we really should try to build a QtWebKit version without that dependency, but for now this should work to just silence all these annoying warnings. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-06Travis: upload the AppImage.zsync file as wellGravatar Dirk Hohndel
This should allow incremental updates of the AppImage. Unfortunately right now this requires on us not messing with the file names - which means we are losing the SHA embedded there... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-06Travis: fix typoGravatar Dirk Hohndel
I hate it when I do that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-06Travis AppImage: work around OpenSSL issueGravatar Dirk Hohndel
The Qt binaries that we use for the continues build of the AppImage reference libcrypto.so.1.0.1e, but we bundle libcrypto.so.1.0.0. On distros that have libcrypto.so.1.0.1e that gets loaded in addition to the one that we bundle which causes a conflict. More details are explained in the issue below. Fixes #779 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: upload continuous build AppImages as wellGravatar Dirk Hohndel
The latest is always under tag 'continuous'. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: automatically create AppImage for releasesGravatar Dirk Hohndel
This uploads the AppImage as Release whenever there's a new tag. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: add Grantlee pluginsGravatar Dirk Hohndel
With this we appear to have a fully functional AppImage. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: find the Qt plugins when running testsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: get our own Qt and build with WebKit enabledGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Travis: remove special handling for MapWidgetGravatar Dirk Hohndel
Thanks to commit 956b45ddfd ("map-widget: move the widget and its resources to 'map-widget'") this is no longer needed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-05Build AppImage on Travis CIGravatar probonopd
https://github.com/Subsurface-divelog/subsurface/issues/769
2017-10-16Fix stupid syntax errorsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-10-15Make Travis test BT_SUPPORT off builds as wellGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-08-03Travis: fix typo in '--platform' optionGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29Travis: switch to Qt 5.9.1Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29Travis: build without WebKit by defaultGravatar Dirk Hohndel
All these hacks are no longer needed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-06-21Upgrade 3pp for android and testingGravatar Anton Lundin
Signed-off-by: Anton Lundin <glance@acc.umu.se>