|
| 1 | +language: python # This lets us use newer python versions from virtualenv |
| 2 | +python: "3.5" |
| 3 | +compiler: clang |
| 4 | +dist: trusty |
| 5 | +sudo: false |
| 6 | +cache: |
| 7 | + apt: true |
| 8 | + pip: true |
| 9 | + directories: |
| 10 | + - $HOME/.ccache |
| 11 | + timeout: 1000 |
| 12 | + |
1 | 13 | matrix:
|
2 | 14 | fast_finish: true
|
3 | 15 | include:
|
4 |
| - # QT5 based build with Python 3 // using container based builds and prebuild binary dependencies in osgeo4travis |
| 16 | + ########################################################## |
| 17 | + # QGIS TESTS ON BIONIC |
| 18 | + ########################################################## |
5 | 19 | - os: linux
|
6 | 20 | services: docker
|
7 |
| - language: python # This lets us use newer python versions from virtualenv |
8 | 21 | env:
|
9 | 22 | - TRAVIS_CONFIG=linux
|
10 | 23 | - DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml
|
11 | 24 | # TRAVIS_BRANCH is either the git tag or the branch name when no tag
|
12 | 25 | - DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" )
|
13 | 26 | - TRAVIS_TIMESTAMP=$(date +%s)
|
14 | 27 | - CCACHE_DIR=${HOME}/.ccache
|
15 |
| - dist: trusty |
16 |
| - sudo: false |
17 |
| - cache: |
18 |
| - apt: true |
19 |
| - pip: true |
20 |
| - directories: |
21 |
| - - $HOME/.ccache |
22 |
| - timeout: 1000 |
23 |
| - compiler: clang |
24 |
| - python: "3.5" |
25 |
| - addons: |
26 |
| - apt: |
27 |
| - sources: |
28 |
| - packages: |
| 28 | + if: type!=cron |
29 | 29 |
|
30 |
| - |
31 |
| - - os: linux |
32 |
| - language: python |
33 |
| - python: "3.5" |
| 30 | + ########################################################## |
| 31 | + # CODE LAYOUT |
| 32 | + ########################################################## |
| 33 | + |
34 | 34 | env:
|
35 | 35 | - TRAVIS_CONFIG=code_layout
|
36 |
| - dist: trusty |
37 |
| - sudo: false |
38 |
| - cache: |
39 |
| - apt: true |
40 | 36 | addons:
|
41 | 37 | apt:
|
42 | 38 | sources:
|
@@ -69,6 +65,52 @@ matrix:
|
69 | 65 | - libstrictures-perl
|
70 | 66 | - libstring-escape-perl
|
71 | 67 | - libtry-tiny-perl
|
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + ########################################################## |
| 72 | + # |
| 73 | + # DOCKER IMAGE BUILD JOBS ON CRON |
| 74 | + # |
| 75 | + ########################################################## |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + ########################################################## |
| 82 | + # BIONIC DOCKER BUILD ON CRON |
| 83 | + ########################################################## |
| 84 | + - os: linux |
| 85 | + services: docker |
| 86 | + env: |
| 87 | + - TRAVIS_CONFIG=linux |
| 88 | + - DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml |
| 89 | + # TRAVIS_BRANCH is either the git tag or the branch name when no tag |
| 90 | + - DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" ) |
| 91 | + - TRAVIS_TIMESTAMP=$(date +%s) |
| 92 | + - CCACHE_DIR=${HOME}/.ccache |
| 93 | + - DOCKER_DEBIAN_DISTRO=bionic |
| 94 | + if: type=cron |
| 95 | + |
| 96 | + ########################################################## |
| 97 | + # COSMIC DOCKER BUILD ON CRON |
| 98 | + ########################################################## |
| 99 | + - os: linux |
| 100 | + services: docker |
| 101 | + env: |
| 102 | + - TRAVIS_CONFIG=linux |
| 103 | + - DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml |
| 104 | + # TRAVIS_BRANCH is either the git tag or the branch name when no tag |
| 105 | + - DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" ) |
| 106 | + - TRAVIS_TIMESTAMP=$(date +%s) |
| 107 | + - CCACHE_DIR=${HOME}/.ccache |
| 108 | + - DOCKER_DEBIAN_DISTRO=cosmic |
| 109 | + if: type=cron |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
72 | 114 | # OSX based build with QT4 and Python 2
|
73 | 115 | # - os: osx
|
74 | 116 | # osx_image: xcode8.3 # MacOS 10.12: Sierra
|
|
0 commit comments