Fix "shallow" problem on Travis