Automatically generate .travis.yml from tox.ini
Project description
tox2travis
After installing, simply call tox2travis
in a directory that
contains a tox.ini
file. A .travis.yml
file will be generated.
tox2travis
will be able to map environment names using tox's
default
environments
to the correct python version on Travis automatically.
Non-standard environment names
If an environment name does not match one of the default environments
provided by tox, tox2travis will simply ignore it. To specify a python
version for such environments, use the --fallback-python
command line
argument:
tox2travis --fallback-python pythonx.y
The value passed to the argument must be a valid basepython.
Custom basepython
If environments specified in tox.ini
use a
basepython
that can not be automatically mapped to one of the supported python
versions on Travis, use the --custom-mapping
command line argument:
tox2travis --custom-mapping <basepython> <travis-python>
GitHub Actions
Despite the name, tox2travis
can also generate a configuration file
for GitHub Actions. Simply call
tox2travis --output=actions
in a directory that contains a
tox.ini
file. A new file .github/workflows/tox.yml
will be
generated.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tox2travis-0.1.2.tar.gz
.
File metadata
- Download URL: tox2travis-0.1.2.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9901505fc7d557f1fda641b82457aca3521cf9174a91b4efc8c5aa1f6f2d7cb9 |
|
MD5 | 088dbba29f70ec45ca70b8fe558b71b0 |
|
BLAKE2b-256 | 55863e098d2fa2494ece6876215b6d7e6390b8a3962e03ac7f35592fb1730057 |
File details
Details for the file tox2travis-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: tox2travis-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01db511e1941ba8bf6d860a19bad6f02f43cb56805d3e984b19120e7fee96e54 |
|
MD5 | 423b7ca057624fbbf7a074207cac98e9 |
|
BLAKE2b-256 | 36518dd6b65252dea006c6371e7d750ca29e57ffadeed3067510fb8d72e031e3 |