Skip to content

Commit

Permalink
run tests for multiple qgis versions:
Browse files Browse the repository at this point in the history
* latest
* release-3_6
* release-3_4
  • Loading branch information
mnboos committed Mar 19, 2019
1 parent 460bbcf commit b3a3237
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
40 changes: 39 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ matrix:
- pip install flake8 mypy
- flake8 plugin
install:
- cd docker && docker-compose up -d
- cd docker && docker-compose build --build-arg QGIS_TAG=latest && docker-compose up -d
- sleep 10 # This is required to allow xvfb to start
script:
- docker exec -it qgis3 sh -c "qgis_testrunner.sh tests_directory"
Expand All @@ -37,6 +37,44 @@ matrix:
tags: true
branch: master-qgis3

- language: python
python: 3.6
dist: xenial
sudo: true
branches:
only:
- master-qgis3
- dev-qgis3
services:
- docker
before_install:
- pip install flake8 mypy
- flake8 plugin
install:
- cd docker && docker-compose build --build-arg QGIS_TAG=release-3_6 && docker-compose up -d
- sleep 10 # This is required to allow xvfb to start
script:
- docker exec -it qgis3 sh -c "qgis_testrunner.sh tests_directory"
-
- language: python
python: 3.6
dist: xenial
sudo: true
branches:
only:
- master-qgis3
- dev-qgis3
services:
- docker
before_install:
- pip install flake8 mypy
- flake8 plugin
install:
- cd docker && docker-compose build --build-arg QGIS_TAG=release-3_4 && docker-compose up -d
- sleep 10 # This is required to allow xvfb to start
script:
- docker exec -it qgis3 sh -c "qgis_testrunner.sh tests_directory"

- language: cpp
branches:
only:
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM qgis/qgis:latest
ARG QGIS_TAG
FROM qgis/qgis:${QGIS_TAG}
MAINTAINER Martin Boos

RUN qgis_setup.sh vector_tiles_reader && \
Expand Down

0 comments on commit b3a3237

Please sign in to comment.