Add .gitignore file
Fix set -x test on Travis