Minor fix in the Serial class.
Added .travis.bash and .travis.yml files.