add travis.yml
Merge pull request #25 from jeremyletang/travis

add travis support + some conditionnal compilation