NYU-DevOps-Charlie-CSCI-GA-3033-013 / products

Product Team for CSCI-GA.3033-013
http://nyu-lab-bluemix-charlie-products.mybluemix.net/
1 stars 1 forks source link

Add Travis CI Support to project #33

Closed ephraimrosenfeld closed 7 years ago

ephraimrosenfeld commented 7 years ago

As a: software developer

I need: continuous integration (CI) support of my project.

So that: whenever a code commit to the repository is made, the unit tests are run automatically in a CI environment. This will ensure the integrity of the repository such that future commits will not break existing functionality. This will obviate the need for peer-reviewers of pull-requests to build the project locally and run the unit tests themselves

Assumptions: We will use Travis CI as the continuous integration tool (CI).

Acceptance Criteria:

  1. A .travis.yml file will be added to the repository which will configure the Travis CI environment to run the project unit tests with the associated dependencies (i.e. installation of Python 2.7, installation of pip libraries such as Flask, and persistence support via Reddis)
  2. A Travis CI account will be created and the 'products' repository will be linked to the account. The project will be configured to run the unit tests when a code commit occurs. The following project settings should be turned on in Travis: a. Build branch updates b. Build pull request updates
  3. The status of the 'products' project will be made available here: https://travis-ci.org/NYU-DevOps-Charlie-CSCI-GA-3033-013/products To meet the acceptance criteria, the project must successfully complete all of the project's unit tests.
  4. Add the Travis build Markdown badge to the project README.md file