I see a few issues:
- You are installing Miniconda yourself, with
miniconda.sh
that you provide. So you don’t need Travis’ Python, it only wastes time and makes things more confusing. Uselanguage: generic
. -
source activate testenv
likely has no effect. You should rather useconda activate
.- This means that you are still using Travis’ Python after than line, producing the effect that you are seeing