Skip to content

Commit

Permalink
gave up on caching mini-conda
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed Feb 26, 2018
1 parent a7b8eec commit e66a8e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,13 @@ cache:
# cache directory used for Ensembl downloads of GTF and FASTA files
# along with the indexed db of intervals and ID mappings and pickles
# of sequence dictionaries. Also, pip
directories:
- $HOME/miniconda
before_install:
# don't install miniconda if it's already cached
# if not yet installed, use different versions for py2 vs. py3
- |
if [ -d $HOME/miniconda/bin ];
then
echo "miniconda already installed"
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
rm -rf $HOME/miniconda
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
bash miniconda.sh -b -p $HOME/miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- export PATH="$HOME/miniconda/bin:$PATH"
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
# reset the shell's lookup table for program name to path mappings
Expand Down
2 changes: 1 addition & 1 deletion sercol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

from .collection import Collection

__version__ = "0.1.3"
__version__ = "0.1.4"

__all__ = ["Collection"]

0 comments on commit e66a8e8

Please sign in to comment.