aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)Author
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>
2017-02-07travis: Correct infrastructure for tests on mobileGravatar Anton Lundin
In the previous code, there was a mistake in how cwd in travis works. This solves that by just using make -C instead. The only issue is that the tests currently fail. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-07travis: actually build the mobile version toGravatar Anton Lundin
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-07travis: Run a xfvb for TestPreferencesGravatar Anton Lundin
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-06On Travis, don't run TestPreferencesGravatar Dirk Hohndel
... because that one needs a display to run. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-06Enable tests on TravisGravatar Dirk Hohndel
Now that I disabled the failing parts of the TestParse, we should be able to run this by default. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-05Add a travis build of subsurfaceGravatar Anton Lundin
This runs a subsurface script/build.sh build in travis-ci, and runs the tests afterwards. The build runs on the Ubuntu Trusty image, but due to the fact that the Qt shipped there is to old, it installs a Qt 5.8 from qt.io , and with some trickery caches it. Hacked out are things that doesn't build with Qt 5.8, and the rest is built against WebEngine. The tests currently fail, and I really don't know why, but its a clear indication that they aren't run that often. This cam makes sure they are run at least. The actual testing is just commented out for that reason. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>