-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
29 lines (29 loc) · 998 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: python
python:
- "2.7"
sudo: false
install:
- case "$TRAVIS_PYTHON_VERSION" in
2*)
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O $HOME/miniconda.sh;
PYTHON="python"
;;
3*)
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/miniconda.sh;
PYTHON="python3"
;;
esac
- bash $HOME/miniconda.sh -b -p $HOME/.miniconda
- export PATH="$HOME/.miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda config --add channels r
- conda config --add channels bioconda
- mkdir $HOME/share $HOME/share/usr $HOME/share/usr/env
- export INNOVATION_ENV_VERSION=0.0.1
- conda create -q -p $HOME/share/usr/env/innovation-lab-$INNOVATION_ENV_VERSION
- git clone https://github.com/ndbrown6/innovation-lab.git
script:
- source activate $HOME/share/usr/env/innovation-lab-$INNOVATION_ENV_VERSION