Ignore swap files.
Add travis configuration.