bincrafters-envy

Bincrafters script to update environment variables for travis and appveyor


Keywords
conan, C/C++, package, libraries, developer, manager, dependency, tool, c, c++, cpp, conan-tools, environment
License
MIT
Install
pip install bincrafters-envy==0.1.3

Documentation

Build Status Build status codecov download

Bincrafters Envy

Update environment variables for travis and appveyor

Install

To install using pypi.org:

pip install bincrafters-envy

Usage

first, you'll need to obtains travis and appveyor tokens

to obtain appveyor token, visit this page

to obtain travis token (for travis-ci.com), visit this page

to obtain travis token (for travis-ci.org), visit this page

create env.ini file with your environment variables (take a look at the env.ini.example):

[account]
appveyor = <your account name on appveyor>
travis = <your account name on travis>
github = <your account name on GitHub>
[env]
CONAN_LOGIN_USERNAME = <your username>
CONAN_PASSWORD = <your password>
[encrypted]
CONAN_PASSWORD
[token]
appveyor = <your appveyor token>
travis = <your travis token>

then run python envy.py -p <project> (e.g. python envy.py -p conan-libastral)

Testing

To run all unit tests:

cd tests
pytest -v -s --cov=bincrafters_envy

LICENSE

MIT