Add Travis scripts, and improve test .gitignore