diff --git a/.travis.yml b/.travis.yml index 6482fbe8..a8c6e170 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,14 +18,13 @@ addons: before_install: - wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - - "./miniconda.sh -b" + - "./miniconda.sh -b -p ~/miniconda3" - export CONDA_PATH=$HOME/miniconda3 - export PATH=$CONDA_PATH/bin:$PATH - conda update --yes conda - - conda install --yes gcc automake pkgconfig viennarna>=2.4.8 boost=1.61.* -c conda-forge -c bioconda - - export CONDA_LIB_PATH=$CONDA_PATH/lib - # - ls $CONDA_LIB_PATH - # - ls $CONDA_PATH/include + - conda create -n build_env --yes gcc automake pkg-config viennarna>=2.4.8 boost=1.61.* -c conda-forge -c bioconda + - source activate build_env + - export CONDA_LIB_PATH=$CONDA_PATH/envs/build_env/lib - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_LIB_PATH script: