147 Commits

Author SHA1 Message Date
Jeff McKenna
01d0c59f44 setup travis.ci notifications to #qgis-activity 2020-01-28 19:59:58 +01:00
Denis Rouzaud
2829f6ba35
[docker] fix cache and enable timeouts for Docker images (on cron jobs) (#32264)
This allows faster builds of the Docker images on cron jobs by fixing the caching on Travis (it has a distinct cache than the standard testing builds)
To get the cache, it has to be stored on some point in a docker image. To avoid image size increase, a second build is done with removing the cache and build information and using squash builds (currently an experimental feature of Docker).
2019-10-17 09:50:05 +02:00
Denis Rouzaud
5d26ff3b6a patch for statx calls on Docker should not be required anymore on Bionic 2019-08-31 12:14:31 +02:00
Denis Rouzaud
65df88b211
Use Bionic on Travis (#31514)
* Use Bionic on Travis

To get newer Doxygen

* newer Python
2019-08-31 12:12:37 +02:00
Denis Rouzaud
8474a54927 build Disco Docker image with GCC
freeze happens with clang when building the bindings
2019-06-18 16:58:11 +02:00
Denis Rouzaud
a871e90a2b install newer libseccomp on Travis host for building with Qt 5.10+ in Docker container 2019-05-28 20:37:18 -05:00
Denis Rouzaud
59fd511267
[Travis] use xenial for all builds (#18657) 2019-05-25 08:59:53 -05:00
Denis Rouzaud
d3ce0a0dc2
🐠 -> 💃 (cuttlefish->disco) 2019-05-22 11:18:31 -05:00
Denis Rouzaud
177ab835aa
cosmic > disco leftovers 2019-05-21 14:29:05 -05:00
Denis Rouzaud
4f3a9f46d2
update Travis to build on Trusty for code layout (#10048)
* update Travis to build on Trusty for code layout

* fix shellcheck replace ! -z by -n

* shellcheck: fix  -n doesn't work with unquoted arguments

* more shellcheck fixes

* use bash instead of posix
2019-05-21 14:13:28 -05:00
Denis Rouzaud
026cb0e003
update alternative Docker image from Cosmic to Disco (#10046) 2019-05-21 12:44:54 -05:00
Denis Rouzaud
eacd47bfa6
[Travis] Fix backport branch being run as push job (#9680) 2019-04-01 17:29:37 -05:00
Denis Rouzaud
7fb752e0ff
[TRAVIS] run flaky test when label is defined (#9509)
to declare a test as flaky:

* for cpp, use

```
if ( !QgsTest::runFlakyTests() )
    QSKIP( "This test is disabled on Travis CI environment" );
```

* for Python, you can use `RUN_FLAKY_TEST` environment variable
2019-03-27 09:45:34 -05:00
Denis Rouzaud
8f0cfda89a
Merge pull request #9419 from 3nids/docker_tree
Refactoring of Docker builds
2019-03-09 15:31:18 +01:00
Denis Rouzaud
b55f7e3c0b
bit more clever 2019-03-08 12:42:36 +01:00
Matthias Kuhn
97fcd383b4
Only run push tests on master, release- and final- branches 2019-03-08 09:39:35 +01:00
Denis Rouzaud
ff6aa91ffc yeah 2019-03-07 14:33:53 +01:00
Denis Rouzaud
a294fc7923 build and test in 2 steps 2019-03-07 13:08:35 +01:00
Denis Rouzaud
44847ca824
avoid triggering twice build of PyQGIS docs (#9406) 2019-03-06 17:43:59 +01:00
Denis Rouzaud
5f0e1984e9
more descriptive Travis job names (#9400) 2019-03-06 11:04:31 +01:00
Denis Rouzaud
943492e675 fix CCACHE dir 2019-03-05 20:12:47 +01:00
Denis Rouzaud
1e11e1157a
simplify CI scripts (#9387)
by separating the testing and docker image building scripts
there was almost no redundany in the scripts, it is much clearer now
2019-03-05 17:38:04 +01:00
Denis Rouzaud
59789c463c add a second cache directory for Docker image building
because they just take too much time
2019-03-05 13:16:16 +01:00
Denis Rouzaud
458b9afeae trigger PyQGIS Doc Travis build after pushing new image on Docker hub 2019-03-05 13:16:16 +01:00
Matthias Kuhn
fb94c9aae9
Fix backport branch filtering 2019-03-04 15:31:03 +01:00
Matthias Kuhn
92a7027a00
Fix backport branch filtering for travis 2019-03-04 15:06:53 +01:00
backporting[bot]
1f806700d4 Do not run travis on backport branches 2019-03-04 13:29:51 +01:00
Denis Rouzaud
00be400b02
add name to travis builds (#8889) 2019-01-17 10:00:47 -05:00
Denis Rouzaud
d59b9858e1 add docker hub credentials to yml file 2018-11-19 10:21:49 +01:00
Denis Rouzaud
bd2f9f97b2 fix ccache for Docker images 2018-11-18 13:40:07 +01:00
Denis Rouzaud
7213b0c119 fix docker tag for cosmic 2018-11-17 16:27:02 +01:00
Denis Rouzaud
06e139eb32 fix global env var 2018-11-16 22:01:44 +01:00
Denis Rouzaud
cb00a2a537 enable dual builds BIONIC/COSMIC for images 2018-11-16 22:01:44 +01:00
Denis Rouzaud
51e767265d [docker] simpler configuration to provide different build options 2018-11-16 22:01:44 +01:00
Matthias Kuhn
6a9db5a1c9 Produce multiple docker images 2018-11-16 22:01:44 +01:00
Nyall Dawson
aa55f3abcb Try to use cpanm to install licensecheck 2018-06-04 11:30:32 +10:00
Nyall Dawson
8b44b06ea9 Install more dependencies from repos 2018-06-04 11:30:32 +10:00
Denis Rouzaud
914e7bbe89
[docker] create images for final releases (#6594)
* [docker] create images for final releases

based on git tags

* fix script
2018-03-13 08:14:44 -08:00
Denis Rouzaud
0a639192a2 Revert "allow to save a Docker deps image for PR having [dockerdeps] in their message" 2018-03-06 16:48:50 -09:00
Denis Rouzaud
24ef30f2fe add secure env var for docker login in Travis yml file 2018-03-02 20:51:53 -04:00
Denis Rouzaud
bd149b9713 allow to save a Docker deps image for PR having [dockerdeps] in their title 2018-03-02 15:36:30 -04:00
Denis Rouzaud
10c212289e
Timeout Travis builds to save cache in time (#6488) 2018-02-28 03:54:37 -09:00
Denis Rouzaud
78e2259add
[Travis] bump Qt to 5.9 (#6355)
* bump Qt to 5.9 and SIP to 4.19.7 by using coming Bionic as base Docker image for dependencies
* automatically build QGIS Docker image on cron jobs
2018-02-27 09:16:02 -09:00
Denis Rouzaud
6f47c6a4f9 [docker] allow updating dependencies
this is triggered by a commit message:
[docker] update dependencies
2017-12-12 00:52:02 -04:00
Denis Rouzaud
042f2cd348
Increase git depth to avoid issues in code layout build
On Travis
 When on large pr with many commits
2017-11-15 15:30:37 +01:00
Denis Rouzaud
451939d151
explicit setup of ccache 2017-09-28 13:18:20 +02:00
Denis Rouzaud
a0add1774e
use docker for newer dependencies on Travis 2017-09-28 13:18:18 +02:00
Nyall Dawson
2830f31e8b Disable Travis OSX builds
They are broken and ignored at the moment, but still
causing a massive backlog and delay in obtaining
the valid test results
2017-09-06 09:10:49 +10:00
Blottiere Paul
ba74e64d93 Add libzip-dev in travis.yml 2017-07-31 11:09:14 +01:00
Denis Rouzaud
fcc0d7dde3 enhanced output for code_layout build on Travis 2017-07-24 13:40:49 +02:00