Skip to content

Continuous Integration with Travis

Selynna Sun edited this page Dec 12, 2018 · 1 revision

We're using Travis CI for our continuous integration platform, which runs tests when submitting pull requests. Its configuration lives in .travis.yml and determines the Python version we're using, the branches the tests run on, the dependencies to install, and the script that we're using to run tests.

We're running our tests inside tests/quick_scan_tests.py, where we're currently checking for two things:

  • Testing that there are no exceptions in any of the functions
  • Testing that the program reaches completion

If both pass, the CI passes; otherwise it entirely fails. We are currently waiting on tests for cv.py, but otherwise, tests are running for quick_scan.py.