User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cs:travisci:start [2016/09/09 16:19]
James Irwin
cs:travisci:start [2016/09/09 16:31]
James Irwin
Line 1: Line 1:
 ====== Travis CI ====== ​ ====== Travis CI ====== ​
-{{:​cs:​travisci:​travis.png?​200|}}+{{:​cs:​travisci:​travis.png?​100 }} We use Travis CI as our build server. Whenever we push code to the dev or master branches, or create a pull request, Travis will try to compile our software, and let us know if there are any issues. Travis is also capable of running tests and letting us know if any fail. These tools help us by catching mistakes shortly after code is pushed, instead of us discovering issues days or weeks later.
  
-We use Travis CI as our build serverWhenever ​we push code to the dev or master branchesor create ​pull request, Travis ​CI will try to compile ​our software, and let us know if there are any issues.+Our travis page: https://​travis-ci.org/​PalouseRobosub 
 + 
 +==== How it works ==== 
 +When we push code, Travis will detect this and launch ​virtual machine with a fresh Ubuntu install. After bootingthe code repository is cloned from github and Travis ​processes the .travis.yml file located in the root of the repo. This file configures various settings and provides instructions for installing all our software ​dependencies,​ compiling our code, and running our tests. 
 + 
 +==== Results ==== 
 +Travis has a lot of ways to publish the results. Currently we have it set up so that slack is notified when the build is broken, with another notification when the build has been fixed.