hetio / xswap

Python library (C++ backend) for degree-preserving network randomization
https://hetio.github.io/xswap/
BSD 2-Clause "Simplified" License
12 stars 3 forks source link

Add Travis compilation and PyPI upload #17

Closed zietzm closed 5 years ago

zietzm commented 5 years ago

Currently the PyPI url is for the test version (https://test.pypi.org/), so this should be changed before merging.

zietzm commented 5 years ago

Key to only deploy on tagged commits turned out to be

if: tag IS present

See https://docs.travis-ci.com/user/conditions-v1

zietzm commented 5 years ago

Last two builds failed because

"Travis CI makes encrypted variables and data available only to pull requests coming from the same repository." (source)