Travis CI configuration improvements.

- 7.0.x does not support the 'DefaultSignatures' extension required by
  diagrams-lib.
- 'cabal check' returns 1, because we use -O2.