fix failed run of test that passes Travis CI

It could happen that the tests failed but Travis CI did not recognize
it. The success of the test suite is now checked explicitly.

For example of failed test that passed CI build see -> https://travis-ci.org/shoyer/netcdf4-python/jobs/40971359