forked from 3liz/QgisCadastrePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (43 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
os: linux
dist: bionic
language: python
python: 3.7
services:
- docker
branches:
only:
- master
# tags with 1.1.1
- /^\d+\.\d+\.\d+$/
jobs:
include:
- stage: Deploy
if: tag IS present
name: Create release
install:
- pip3 install qgis-plugin-ci==1.8.4
before_deploy:
- export RELEASE_TITLE="$TRAVIS_TAG"
- qgis-plugin-ci changelog $TRAVIS_TAG > ../release.md
- cat ../release.md
script:
- qgis-plugin-ci -v
deploy:
- provider: releases
edge: true
file: .
name: ${RELEASE_TITLE}
release_notes_file: ../release.md
token: ${GH_TOKEN}
on:
tags: true
- provider: script
script: >-
qgis-plugin-ci
release ${TRAVIS_TAG}
--github-token ${GH_TOKEN}
--osgeo-username ${OSGEO_USERNAME}
--osgeo-password ${OSGEO_PASSWORD}
--allow-uncommitted-changes
on:
tags: true