archey4/.travis.yml
Samuel FORESTIER e681c78f91
Reworks and publishes sources of the packaging process (#54)
+ 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
2020-03-27 13:57:24 +00:00

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