-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (32 loc) · 3.57 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
language: python
dist: bionic
python:
- 3.7
git:
submodules: false
before_install:
# cannot use SSH to fetch submodule
- sed -i 's#[email protected]:#https://github.com/#' .gitmodules
- git submodule update --init --recursive
install:
- pip install -r requirements.txt
scripts:
- qgis-plugin-ci -v
env:
global:
# OSGEO_USERNAME
- secure: "fvptHzANZyz5/RoeFbuj2EymCWGEQBniDb+auTT6S+7DndVDkIAnYp3gTAEl9TbjD6fmKvdOiAKqezvuiedNY/FJMFN9pxKBWg1dKFzuDfbWJpF8+beTF93uQqXSKbeAJxRYz/FrJ0IgNKg16TJx/f42NTCoR22mr/xm9bD2HQbYCpWwnHwtRhDNA/JwSqbgpzx1XfFPEXFwn5EEQGfc49amm3gCVg4XMw06y/G0jGu/yG52tqQTDgPNN916UZo4PkJcDd+n/FQQ0DKx02RcTE59fuU5IljdPnYu/xgzGG9QfqTZ6x0mKefFYJ9JFnWDNRcxoSmiCpzXr2coPbasVer4Vaqk+9BGNuMOOqiQoEqqH7iknDmdx+pV16qa4CzO7poDcTAofufAqm0cDjNtzf8L6JtvJYgRSYP9lqL/rTzo/NqAgxmpJvMNqO8t5JBQT8GVAuniRJzlXHeZeYSgMWkQFKqojJd6Pgd2yxRY50J8S2JOZU+2xC/+Suv3RnuM5LDaMCDqNx7YAfJEumdQPVyXqbl8mOEQXbUGvCbrhogZ87RjoKmiLW4GoAvWdcphmIwUpxXMx4DV1c2UO91FXOsztbCLjv14ou/dB5sGI1VEepPY42CGlbwRRfVPcH6PASxjerhCCNRoL82YJ3PoUoRZmmk+1DROmKnXPLIaCE8="
# OSGEO_PASSWORD
- secure: "ZFVVZVXWCtQJYzSBMFoJbgkiBMmlk2wGkfSUUZhEjGlaZExyl7aVvY35rfNyI1i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SCwKjVdgSGDGZf0zCmaQgGkfsHoL3+jO9K3skRIdyRYT5IvDafrk4f7qCq5MOLlao8jKguI75TG/SYrIGfU1kQ+U3qJZkmuEzDq3eJUCKdSZq+cvSztTOv/E7TyRzkQhdF6SChsUMGiSidOqU7N8eWdy5KKa9EJE3sGdd77teoTaJAb5Ey/ua4MYfB1rKk8g+2wzF+gkjOK5Z+3hnxZF7jqjbz1vo2wwWFQA34zHY="
# GH_TOKEN
- secure: "dWDL9BKgVjI6mYQUg8TNYUUs1a/yfCTFtAvChJo+My+EGzX/QUvuwKL0gBhIIs/Y4FKFNqh7VFx0L2h/gJeN7caA74wCxhQpIMOVkp/u4SydJPbi4MSXjltoubIZysBKelQVkeQkM3A2qqbJtqWcIfgSRwj/unFEMcsnHBEoctDVktirR1x94lUaIR+Dkd09odRnKObrGRqtUJNWLQEQW54O2ZcLVJisn1fc9gpCIyJAWCSA7LTcOJbLdiO1Bs2kNraB0LN9nFV1bWbbGimkRGQWcrDPmnT3WufI3okj7MWnAebQbdj48YabuQZjafpJOpSFx29q5AcV+rfNGTSL3hivMuUwNWXdI681i+h2yHLP+DGTuYFYK8Nhys+Cm6hNkz2T4HMwFLo5fw/AGlV90BAjbKxLSrKmDGXLzULkIDomiTZDrzf2RjiFtOt2AlGg2/8sGw0EmsCkyedFf7/ESxlSXxHMxN5K2tu0JLz/7xoGFvgDfJXE2lunYnzNGLCv1eSCLVAyq/KF/xIj7ZCecLUYlW7gCRcKqULWHzUNFye559dDb9u3QHGOLaajMmCZEKH+T+fi5zl2RgT8fedar6bQNY0HfPHxhazrrMVsaSNPeF6vALUd6oypfkHddKBOgMpHcLEcJ9d09CnEBUoBxdExg7qt+QV32INAuCFfufI="
jobs:
include:
- stage: push-translation
if: branch = master AND repo = QGEP/qgis_wincan2qgep
script: qgis-plugin-ci push-translation ${TX_TOKEN}
- stage: deploy
if: tag IS present AND repo = QGEP/qgis_wincan2qgep
script: qgis-plugin-ci release ${TRAVIS_TAG} --transifex-token ${TX_TOKEN} --github-token ${GH_TOKEN} --create-plugin-repo --osgeo-username ${OSGEO_USERNAME} --osgeo-password ${OSGEO_PASSWORD}