Travis CI environment variables
Project description
Installation
$ [sudo] pip install travis-env
Features
- add, get, delete Travis CI environment variables
Config
$ travis token
xxx
$ export TRAVIS_TOKEN="xxx"
# export TRAVIS_ENDPOINT="https://api.travis-ci.org"
Functions
function | __doc__ |
---|---|
travis_env.add(repo, var_name, var_value, public=False) |
add environment variable |
travis_env.update(repo, **kwargs) |
update environment variable |
CLI
usage | __doc__ |
---|---|
python -m travis_env.clear repo |
clear all environment variables |
python -m travis_env.delete repo var_name ... |
delete environment variables by name |
python -m travis_env.set repo var_name var_value |
set environment variable |
python -m travis_env.vars repo |
print environment variable names |
Examples
$ python -m travis_env.set WEBHOOK_URL url
$ python -m travis_env.vars
WEBHOOK_URL
Related projects
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
travis-env-2019.3.23.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for travis_env-2019.3.23-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d63fe6b0a502f174a299505c0b3b59206488b4847615616eb522bb82ce155f36 |
|
MD5 | b9e61f174ca1baaf2837dbc7bf9f090c |
|
BLAKE2b-256 | 968669fe95e5f38246684d6ead707a926fe515332b72a0551341dbc7b01f35d7 |