Added travis-ci config file.
Travis-ci: modifications to compile double and single.
Merge branch 'travis-ci'