Bookworm-project / BookwormDB

Tools for text tokenization and encoding
MIT License
84 stars 12 forks source link

Make a build for Travis checking #104

Closed bmschmidt closed 8 years ago

bmschmidt commented 8 years ago

Having a Travis build for this project would accomplish a few things.

  1. Allow easier integration of new code without breaking things.
  2. Force the core repository to include all the scattered steps out there to set up a computer for Bookworm; in essence, the Travis machine would be a template for anyone's AWS server.
  3. Incentivize creation and use of the sparse unit tests already defined.
bmschmidt commented 8 years ago

OK, Travis integration is complete as of the latest commit.

The travis yaml is a little funky; notably, I had to pip install bookworm both as sudo and as the base user for things to work properly. But it should make it possible to expand out unit tests on the sort of things that are likely to break.

Currently the tests focus on the API working with a test build of included files.