mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Produce multiple docker images
This commit is contained in:
parent
48d498be2f
commit
6a9db5a1c9
90
.travis.yml
90
.travis.yml
@ -1,10 +1,23 @@
|
||||
language: python # This lets us use newer python versions from virtualenv
|
||||
python: "3.5"
|
||||
compiler: clang
|
||||
dist: trusty
|
||||
sudo: false
|
||||
cache:
|
||||
apt: true
|
||||
pip: true
|
||||
directories:
|
||||
- $HOME/.ccache
|
||||
timeout: 1000
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
# QT5 based build with Python 3 // using container based builds and prebuild binary dependencies in osgeo4travis
|
||||
##########################################################
|
||||
# QGIS TESTS ON BIONIC
|
||||
##########################################################
|
||||
- os: linux
|
||||
services: docker
|
||||
language: python # This lets us use newer python versions from virtualenv
|
||||
env:
|
||||
- TRAVIS_CONFIG=linux
|
||||
- DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml
|
||||
@ -12,31 +25,14 @@ matrix:
|
||||
- DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" )
|
||||
- TRAVIS_TIMESTAMP=$(date +%s)
|
||||
- CCACHE_DIR=${HOME}/.ccache
|
||||
dist: trusty
|
||||
sudo: false
|
||||
cache:
|
||||
apt: true
|
||||
pip: true
|
||||
directories:
|
||||
- $HOME/.ccache
|
||||
timeout: 1000
|
||||
compiler: clang
|
||||
python: "3.5"
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
packages:
|
||||
if: type!=cron
|
||||
|
||||
|
||||
- os: linux
|
||||
language: python
|
||||
python: "3.5"
|
||||
##########################################################
|
||||
# CODE LAYOUT
|
||||
##########################################################
|
||||
|
||||
env:
|
||||
- TRAVIS_CONFIG=code_layout
|
||||
dist: trusty
|
||||
sudo: false
|
||||
cache:
|
||||
apt: true
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
@ -69,6 +65,52 @@ matrix:
|
||||
- libstrictures-perl
|
||||
- libstring-escape-perl
|
||||
- libtry-tiny-perl
|
||||
|
||||
|
||||
|
||||
##########################################################
|
||||
#
|
||||
# DOCKER IMAGE BUILD JOBS ON CRON
|
||||
#
|
||||
##########################################################
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##########################################################
|
||||
# BIONIC DOCKER BUILD ON CRON
|
||||
##########################################################
|
||||
- os: linux
|
||||
services: docker
|
||||
env:
|
||||
- TRAVIS_CONFIG=linux
|
||||
- DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml
|
||||
# TRAVIS_BRANCH is either the git tag or the branch name when no tag
|
||||
- DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" )
|
||||
- TRAVIS_TIMESTAMP=$(date +%s)
|
||||
- CCACHE_DIR=${HOME}/.ccache
|
||||
- DOCKER_DEBIAN_DISTRO=bionic
|
||||
if: type=cron
|
||||
|
||||
##########################################################
|
||||
# COSMIC DOCKER BUILD ON CRON
|
||||
##########################################################
|
||||
- os: linux
|
||||
services: docker
|
||||
env:
|
||||
- TRAVIS_CONFIG=linux
|
||||
- DOCKER_COMPOSE=${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml
|
||||
# TRAVIS_BRANCH is either the git tag or the branch name when no tag
|
||||
- DOCKER_TAG=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && echo $TRAVIS_BRANCH | sed 's/master/latest/' || echo "latest" )
|
||||
- TRAVIS_TIMESTAMP=$(date +%s)
|
||||
- CCACHE_DIR=${HOME}/.ccache
|
||||
- DOCKER_DEBIAN_DISTRO=cosmic
|
||||
if: type=cron
|
||||
|
||||
|
||||
|
||||
|
||||
# OSX based build with QT4 and Python 2
|
||||
# - os: osx
|
||||
# osx_image: xcode8.3 # MacOS 10.12: Sierra
|
||||
|
Loading…
x
Reference in New Issue
Block a user