I'm not sure why, but numpy is explicitly excluded from the Travis CI build environment in python 3: https://github.com/travis-ci/travis-cookbooks/blob/master/ci_environment/python/recipes/multi.rb#L95