Changes

193 bytes added ,  00:23, 22 March 2017
Continuous integration: expand, add links. Fix examples formatting
Line 11: Line 11:  
To clone CRIU repo and switch to the proper branch, run:
 
To clone CRIU repo and switch to the proper branch, run:
   −
<source>
+
<pre><nowiki>
git clone https://github.com/xemul/criu criu
+
        git clone https://github.com/xemul/criu criu
cd criu
+
        cd criu
git checkout criu-dev
+
        git checkout criu-dev
</source>
+
</nowiki></pre>
    
== Compile ==
 
== Compile ==
Line 23: Line 23:  
To compile CRIU, run:
 
To compile CRIU, run:
   −
<source>make</source>
+
        make
    
This should create the <code>./criu/criu</code> executable.
 
This should create the <code>./criu/criu</code> executable.
Line 75: Line 75:  
can certify the below:
 
can certify the below:
   −
<div class="toccolours mw-collapsible mw-collapsed" style="width: 64em;">
+
<div class="toccolours mw-collapsible mw-collapsed" style="width: 46em;">
 
'''Developer's Certificate of Origin 1.1'''
 
'''Developer's Certificate of Origin 1.1'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 113: Line 113:  
<code>git commit --amend -s</code>.
 
<code>git commit --amend -s</code>.
   −
<div class="toccolours mw-collapsible mw-collapsed" style="width: 64em;">
+
<div class="toccolours mw-collapsible mw-collapsed" style="width: 46em;">
 
'''Example patch message'''
 
'''Example patch message'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 140: Line 140:  
sometimes a patch may fly around a week before it gets reviewed.
 
sometimes a patch may fly around a week before it gets reviewed.
   −
== Continuous Integration ==
+
== Continuous integration ==
CRIU tests are run for each series. If you get a message from our patchwork that patches haven't pass tests, you have to investigate what is wrong. We recommend to use  https://travis-ci.org/ to check patches before sending them into the mailing list.
+
 
 +
''Main article: [[Continuous integration]]''
 +
 
 +
CRIU tests are run for each series sent to the mailing list. If you get a message from our patchwork that patches failed to pass the tests, you have to investigate what is wrong.
 +
 
 +
We also recommend you to [[Continuous integration#Enable Travis CI for your repo|enable Travis CI for your repo]] to check patches in your git branch, before sending them to the mailing list.
    
[[Category:Development]]
 
[[Category:Development]]