artiq/.travis/get-anaconda.sh

17 lines
582 B
Bash
Raw Normal View History

2015-10-05 00:09:36 +08:00
#!/bin/sh
# Copyright (C) 2014, 2015 Robert Jordens <jordens@gmail.com>
2014-11-07 09:53:38 +08:00
set -e
export PATH=$HOME/miniconda/bin:$PATH
2015-06-26 03:50:38 +08:00
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
2014-11-07 09:53:38 +08:00
bash miniconda.sh -b -p $HOME/miniconda
hash -r
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda info -a
conda install conda-build jinja2
2015-10-05 00:09:36 +08:00
conda create -q -n py35 python=$TRAVIS_PYTHON_VERSION
conda config --add channels https://conda.anaconda.org/m-labs/channel/main
conda config --add channels https://conda.anaconda.org/m-labs/channel/dev