I see a few issues:
- You are installing Miniconda yourself, with
miniconda.shthat you provide. So you don’t need Travis’ Python, it only wastes time and makes things more confusing. Uselanguage: generic. -
source activate testenvlikely 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