Skip to content

Commit

Permalink
Travis - Review the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Aug 28, 2020
1 parent 2f86883 commit 2130f4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
os: linux
dist: bionic

language: python

python: 3.7

services:
Expand All @@ -10,18 +9,15 @@ services:
branches:
only:
- master
- "/^v.*$/"
- /^v?\d+(\.\d+)*$/

env:
matrix:
- QGIS_VERSION=3.4
- QGIS_VERSION=3.10
- QGIS_VERSION=3.14

before_install:
- docker pull 3liz/qgis-platform:${QGIS_VERSION}
install:
- cd ${TRAVIS_BUILD_DIR}
- mkdir .local
- mkdir .cache
script:
Expand All @@ -43,12 +39,13 @@ jobs:
- stage: Deploy
if: tag IS present
env: # no environment variables - overwrite with empty to remove matrix
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+"
name: Create release, plugins.qgis.org
install:
- pip3 install qgis-plugin-ci==1.8.2
- pip3 install qgis-plugin-ci==1.8.3
before_deploy:
- export RELEASE_TITLE=${TRAVIS_TAG:1}
- qgis-plugin-ci changelog $TRAVIS_TAG > ../release.md
- cat ../release.md
script:
- qgis-plugin-ci -v

Expand All @@ -57,7 +54,8 @@ jobs:
edge: true
file: .
name: ${RELEASE_TITLE}
api_key: ${GH_TOKEN}
release_notes_file: ../release.md
token: ${GH_TOKEN}
on:
tags: true

Expand All @@ -68,6 +66,5 @@ jobs:
--github-token ${GH_TOKEN}
--osgeo-username ${OSGEO_USERNAME}
--osgeo-password ${OSGEO_PASSWORD}
--create-plugin-repo
on:
tags: true
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

### 3.1.0 - 28/04/2020
### v3.1.0 - 28/04/2020

* Add warning on QGIS Desktop
* Add additional params in the URL, contribution from ThomasG77
Expand Down

0 comments on commit 2130f4f

Please sign in to comment.