We rely on some devpi features and want to make sure they continue to work as expected.
Create the test fixtures (otherwise the upload tests will fail)
python setup.py sdist
Run the tests
nosetests
Travis runs the tests without LDAP support. If you want to enable them (as we do
internally to check against our own LDAP server), replace the configuration in
tests/fixture/valid-ldap.yml
and define the following environment variables:
export LDAP_TEST_USER=myuser
export LDAP_TEST_PASSWORD=mypassword
export LDAP_TEST_GROUP=a-group-of-myuser