travislint 
Disclaimer: I have no connection to travis-ci at all other than being a satisfied customer. I wrote this utility to avoid having to install Ruby, dependencies etc in order to run the travis-ci command line tool which does far more than I actually needed.
What It Does
This is a Python utility that parses your travis-ci configuration file and lints whether it is valid generic YAML before passing it to travis-ci’s own linter.
Installation
It is recommended that you install the utility into either Virtualenv or Venv environment after which the following should install this utility:
$ pip install travislint
The travislint application can then be run to lint your travis-ci configuration file.
Usage
travislint [-h] [-v] [filename] Lint a .travis.yml file positional arguments: filename name of the file to lint (default: .travis.yml) optional arguments: -h, --help show this help message and exit -v, --verbose verbose output of progress
Under the Covers
First of all we lint the file as generic YAML using yamllint.
It turns out that the travis-ci command line tool does not actually lint your file itself but hands off this task to a portion of the travis-ci website. So it was simple to do this using the Python requests package and save you from having to install Ruby etc.
Metadata
Release files for travislint 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| travislint-1.1.tar.gz | 4.0 kB | Without provenance | Details for travislint-1.1.tar.gz |
Release files / travislint-1.1.tar.gz
| Download URL | travislint-1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f434cf08bc392ddcf404a0af9fc55c13bfa8c4f29d6fada15e31ddb39c356da8
|
|
BLAKE2b-256 checksum How to use checksums |
af380f7693b779b83eb580c5726f556d3fd00589ed6d21c274ffd6fa1b34f735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for travislint 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.