Improving test/matrix.sh and trix travis command

Comments with full environment settings and a courtesy notice
were added to the .travis.yml file generated by trix.

Additional build information and a small refactoring was made
on test/matrix.sh for the travis matrix.