Issue4 enable travis ci

Depends on issue #3.