-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
1,750 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
__pycache__ | ||
.pytest_cache | ||
*.pyc | ||
*.pyo | ||
.eggs/ | ||
*.egg-info/ | ||
dist/ | ||
build/ | ||
mutagen-helper.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
language: python | ||
python: | ||
- 3.6 | ||
matrix: | ||
include: | ||
- python: 3.7 | ||
dist: xenial | ||
sudo: true | ||
install: | ||
- curl -fsSL -o mutagen.tar.gz https://github.com/havoc-io/mutagen/releases/download/v0.9.0-beta1/mutagen_linux_amd64_v0.9.0-beta1.tar.gz | ||
- mkdir mutagen && tar zxvf mutagen.tar.gz -C /home/travis/bin | ||
- mutagen daemon start | ||
- pip install pip --upgrade | ||
- pip install -e .[dev,test] --upgrade | ||
- pip install pytest --upgrade | ||
- pip install coveralls | ||
- pytest --version | ||
script: | ||
- coverage run --source=mutagen_helper setup.py test | ||
- python setup.py build | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Build from sources | ||
|
||
``` | ||
pipenv run python setup.py clean build bdist bdist_wheel bdist_pex --pex-args="--disable-cache" --bdist-all | ||
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux "pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" | ||
docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows "pip install --upgrade setuptools && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" | ||
``` | ||
|
||
## Release | ||
|
||
``` | ||
pipenv shell | ||
prerelease | ||
rm -Rf dist/ &&\ | ||
pipenv run python setup.py clean build bdist bdist_wheel &&\ | ||
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux "pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" &&\ | ||
docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows "pip install --upgrade setuptools && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" | ||
release | ||
githubrelease release gfi-centre-ouest/mutagen-helper create $(python -m mutagen_helper --version | cut -d ' ' -f 3-) --publish "dist/*" | ||
postrelease | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
pytest = "*" | ||
pyinstaller = "*" | ||
zest-releaser = {extras = ["recommended"],version = "*"} | ||
githubrelease = "*" | ||
|
||
[packages] | ||
click = "*" | ||
pyyaml = "*" | ||
tinydb = "*" | ||
|
||
[requires] | ||
python_version = "3.7" |
Oops, something went wrong.