Travis-ci builds and runs unit tests
Linking with pthread