Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47 from kbgg/build-release
Browse files Browse the repository at this point in the history
Added release artifact building
  • Loading branch information
kbgg authored Jun 24, 2019
2 parents 2eae61e + 2e461d1 commit 0dba105
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 38 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,34 @@ jobs:
- run:
name: Run lint
command: flake8 --exclude=help/,venv/ --per-file-ignores='stac_browser.py:F401,F403'
build:
docker:
- image: circleci/python:3.6
working_directory: ~/qgis-stac-browser
resource_class: small
steps:
- checkout
- run:
name: Install pb_tool and PyQT5
command: sudo pip install pb_tool pyqt5
- run:
name: Make plugin directory
command: mkdir /home/circleci/plugin
- run:
name: Update pb_tool.cfg
command: "sed -i -e 's/plugin_path:/plugin_path: \\/home\\/circleci\\/plugin/' pb_tool.cfg"
- run:
name: Deploy Plugin
command: pb_tool deploy -y
- run:
name: Build Zip
command: pb_tool zip --quick
- store_artifacts:
path: ~/qgis-stac-browser/stac_browser.zip
destination: stac_browser.zip
workflows:
build:
jobs:
- lint
- build
version: 2
39 changes: 1 addition & 38 deletions pb_tool.cfg
Original file line number Diff line number Diff line change
@@ -1,41 +1,3 @@
#/***************************************************************************
# STACBrowser
#
# Configuration file for plugin builder tool (pb_tool)
# Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/
# -------------------
# begin : 2019-05-28
# copyright : (C) 2019 by Kevin Booth
# email : kevin@kb.gg
# ***************************************************************************/
#
#/***************************************************************************
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation; either version 2 of the License, or *
# * (at your option) any later version. *
# * *
# ***************************************************************************/
#
#
# You can install pb_tool using:
# pip install http://geoapt.net/files/pb_tool.zip
#
# Consider doing your development (and install of pb_tool) in a virtualenv.
#
# For details on setting up and using pb_tool, see:
# http://g-sherman.github.io/plugin_build_tool/
#
# Issues and pull requests here:
# https://github.com/g-sherman/plugin_build_tool:
#
# Sane defaults for your plugin generated by the Plugin Builder are
# already set below.
#
# As you add Python source files and UI files to your plugin, add
# them to the appropriate [files] section below.

[plugin]
# Name of the plugin. This is the name of the directory that will
# be created in .qgis2/python/plugins
Expand Down Expand Up @@ -75,3 +37,4 @@ locales:
dir: help/build/html
# the name of the directory to target in the deployed plugin
target: help

0 comments on commit 0dba105

Please sign in to comment.