[WIP] Travis integration

| Q   | A
| --- | ---
| Doc fix? | no
| New docs? | no
| Applies to | all
| Fixed tickets | #2722, #3332

##### Todo

 - [x] Using sparse checkout
 - [x] Update contributing docs
 - [ ] Squashing commits
 - [ ] Activate Travis hook (@fabpot)