Get some practice in 😃
- Fork this repository.
- Copy the resulting git link.
git clone
this fork into yourmy-forked-repos
directory (review setup instructions).cd
into this repository.- Immediately
git checkout -b test-branch
- Notice the "build passing" message icon in this README file? That's an import from Travis CI - just one of many continuous integration tools used by organizations and project teams all over the world! We use Travis CI in this class to help us lint code being submitted (in your case as the developer, it will test any PRs you submit for proper linting).
- Let's try and get a "build failing" message instead, so we can see what that's like.
- Open up the
wat.js
file and remove the semicolon from the end of the line and save the file. git add wat.js
git commit -m 'remove semicolon to make the lint test fail'
git push origin test-branch
- Head over to GitHub to make a PR from
test-branch
, let the test run and finish, and see what the result is! - Also notice the orange Ask For Help button? When you're stuck in lab (after the 15 minute rule), click on this button and fill out the template answering all the questions and finally checking the boxes by placing an 'x' inside the square brackets. When you submit, this will notify the instructional team immediately! (TAs included). Try it out -- click the orange button to get a feel for how it works 😎