Improve Travis-CI config

- Run Dialyzer in a separate job, for the latest OTP release only.
- Run xref.
- Implement a custom script instead of Travis-CI default rebar task.
2 files changed