Automatically generate .travis.yml or GitHub actions workflow .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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tox2travis-1.1.tar.gz.
File metadata
- Download URL: tox2travis-1.1.tar.gz
- Upload date:
- Size: 22.0 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 |
3efe1b0aac0984b23a680afaa1cc2983bb26d6558338ddf3ed1990a00dd59abd
|
|
| MD5 |
50cf939ed99cbc3382fb52fd6605df76
|
|
| BLAKE2b-256 |
bae669db8bb5a75260e373a8d42651a3e36dcd665f2449b4ae73af310d4045e0
|
File details
Details for the file tox2travis-1.1-py3-none-any.whl.
File metadata
- Download URL: tox2travis-1.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: 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 |
cdc7717b1d0dd025f96cc7b32ec47e56c40e86a9bd81a6030494e3add0a01756
|
|
| MD5 |
bae14050a04d8bd27a908142843dfb80
|
|
| BLAKE2b-256 |
30e66f2c892af3f757393705d390f76d0933dddec8b6159e6c19803a98378abb
|