- Remove any version installed with pip
pip uninstall graphistry
- Install local git checkout
./setup.py develop
- Install our test dependencies:
nose
andmock
. - Run
nosetests
in the root pygraphistry folder (ornose
ornose2
). python setup.py test
- To duplicate CI tests, in python2 and 3, run
time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
Travis CI automatically runs on every branch (with a Travis CI file). To configure, go to the Travis CI account .
Uninstall the local checkout (useful to rollback to packaged version) with ./setup.py develop --uninstall
-
Tag the repository with a new version number. We use semantic version numbers of the form X.Y.Z.
git tag X.Y.Z git push --tags
-
Login to Graphistry's Jenkins.
-
Fill the
tag
parameter with version number you have just used to tag the repository, then click Build.