Giter VIP home page Giter VIP logo

ciexample's Introduction

Build Status

Continuous Integration Example

CS-348 Spring 2017

Now with TravisCI Integration!

Continuous Integration Exercise

##Fork the Repository https://github.com/CS-Worcester-CS-348-SP-2017/CIExample

Clone the Repository

Add the original repository as an upstream remote

Create a add-name branch, and switch to that branch

##Build with Maven In Git Bash or Mac Terminal:

cd CIExample
mvn clean compile

##Run JUnit Tests with Maven

mvn test

##Build JAR File with Maven and Run

mvn clean package
java -jar target/CIExample-0.0.1-SNAPSHOT.jar

##View Travis CI Builds https://travis-ci.org/CS-Worcester-CS-348-SP-2017/CIExample

##Look at Maven Configuration Look at the pom.xml file in the CIExample

##Look at the Travis Configuration Look at the .travis.yml file in the CIExample

##Look at the Git Configuration Look at the .gitignore file in the CIExample

##Modify the CIExample to Include your Name

###Git Workflow

3. Add the change
4. Pull any changes that have ocurred since their last pull, and correct merge conflicts
4. Commit the change, with a message describing the change (include line number and correction, e.g. `Correct misspelling, line 1: UGN -> GNU` )
5. Push the change
6. Make a pull request to have their change merged into the original repository, including in the pull request text a notation that it closes the assigned issue (e.g. `Closes #42`)

####Edit the code Based on the last digit of your WSU Student ID, edit the appropriate EndsWith class. For example, my ID ends with 2, so I edited the EndsWith2.java file. Look at EndsWith2.java as an example for what to do.

####Build the code with Maven

mvn clean compile

####Test the code with Maven

mvn test

Go update the test for the code you just wrote and test again.

####Build JAR File with Maven and Run

mvn clean package
java -jar target/CIExample-0.0.1-SNAPSHOT.jar

####Before committing your changes, make sure your repository is up-to-date with upstream

git pull upstream master

Resolve any conflicts

####Add your code and commit your changes

####Push changes

####Make a pull request to have your change merged into the original repository

####Go to the original repository and approve the pull request

####Check Travis

##Copyright and License ####© 2017 Karl R. Wurst, Worcester State University

This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

ciexample's People

Contributors

kwurst avatar taynock avatar tjlundstrom avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.