mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-04-08 04:00:18 +02:00

+ By using FPM, SetupTools & Twine, publishes packages distributions sources + During CI, run the local Archey module previously installed with PIP + Fixes some required and recommended packages names in documentation + Signs Debian packages with `debsigs` + Adds source and wheel Python distribution packages generation + Enforces `twine check` on source and wheel distribution packages + Implements automatic `twine upload` with GPG signature + Improves SetupTools module meta-data
36 lines
827 B
YAML
36 lines
827 B
YAML
dist: xenial
|
|
language: python
|
|
python:
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7-dev"
|
|
# - "3.8-dev"
|
|
|
|
install:
|
|
# Archey package installation (and dependencies).
|
|
- pip3 install .
|
|
|
|
# Pylint, Stickytape and PyInstaller external dependencies (see below).
|
|
- pip3 install pylint stickytape pyinstaller
|
|
|
|
script:
|
|
# Simple execution.
|
|
- ${VIRTUAL_ENV}/bin/archey
|
|
- python3 -m archey
|
|
|
|
# Tests suite.
|
|
- python3 setup.py test
|
|
- python3 -m unittest
|
|
|
|
# Lint all the things !
|
|
- pylint archey/
|
|
|
|
# Build a standalone script from sources (Stickytape).
|
|
- stickytape --add-python-path . --output-file dist/archey archey/__main__.py
|
|
- python3 dist/archey
|
|
|
|
# Build a standalone script from sources (PyInstaller).
|
|
- pyinstaller --distpath dist --specpath dist --name archey --onefile archey/__main__.py
|
|
- ./dist/archey
|