YosaiProject / yosai

A Security Framework for Python applications featuring Authorization (rbac permissions and roles), Authentication (2fa totp), Session Management and an extensive Audit Trail
http://yosaiproject.github.io/yosai
Other
590 stars 52 forks source link

Created a working Travis CI integration #13

Closed subssn21 closed 6 years ago

subssn21 commented 8 years ago

Darin will have to activate the yosai team in travis CI.

Once that is done you can merge this pull request and all new pull requests and commits will automatically cause a build to be triggered that runs the test suite.

You can add a build image to the readme file which will show the build status on the readme. Also when a new pull request is created it will automatically make a build and run the tests on the pull request.

You can also set up email and chat notifications for builds.

A couple of changes I had to make.

  1. Needed settings files for tests to run against
  2. The log directory doesn't exist in Travis, so I made it configurable and settable as an environment variable.
subssn21 commented 8 years ago

Did not have coverage so caused builds to fail after you moved the setup.cfg file to the root directory. Added pytest-cov to the additional requirements listed in testing.md and also removed the .coverage file. It was already in .gitignore but the file was in the repo.