Skip to content

Commit

Permalink
use .in file for setup to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 30, 2019
1 parent a24292a commit e58b061
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ __pycache__/
qgis_plugin_ci_testing/i18n
qgis_plugin_ci_testing/resources_rc.py

setup.py


.tokens

Expand Down
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ env:

install:
- pip install -r requirements.txt
- sed -i "s/__VERSION__/${TRAVIS_TAG:-0.0.0}/g" setup.py
- sed "s/__VERSION__/${TRAVIS_TAG:-0.0.0}/g" setup.py.in > setup.py
- python setup.py install
- git checkout HEAD -- setup.py # reset so there is no uncommitted changed

script:
- qgis-plugin-ci --version
- nose2 -v
- sed -i "s/__VERSION__/${TRAVIS_TAG:-0.0.0}/g" setup.py # reconfigure for deploy

deploy:
on:
Expand Down
File renamed without changes.

0 comments on commit e58b061

Please sign in to comment.