Enable doctests in Travis

It worked locally for me. I also checked that it both checks
source files and test files.