Measure commands execution time

Requires https://github.com/travis-ci/travis-build/pull/272, superseeds https://github.com/travis-ci/travis-build/pull/199 and https://github.com/travis-ci/travis-build/pull/263
`uname` on my OS X machine prints "Darwin", not "darwin", so I think this needs to be changed to accurately detect things.