language: python

env:
  - PYTHON=2.6
  - PYTHON=2.7
  - PYTHON=3.3
  - PYTHON=3.4

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH

install:
  - conda update conda --yes
  - conda create -n testenv --yes pip python=$PYTHON
  - conda update conda --yes
  - source activate testenv
  - conda install --yes --file requirements.txt

before_script:
  - conda install --yes -c r r r-survival
  - conda install --yes -c https://conda.binstar.org/cgat bioconductor-biobase bioconductor-s4vectors bioconductor-godb bioconductor-genefilter
  - R --vanilla < R-combat.R

script:
  - python combat.py
  - python test.py


language: python

env:
  - PYTHON=2.6
  - PYTHON=2.7
  - PYTHON=3.3
  - PYTHON=3.4

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH

install:
  - conda update conda --yes
  - conda create -n testenv --yes pip python=$PYTHON
  - conda update conda --yes
  - source activate testenv
  - conda install --yes --file requirements.txt

before_script:
  - conda install --yes -c r r
  - conda install --channel https://conda.binstar.org/asmeurer r-survival
  - conda install --yes -c https://conda.binstar.org/cgat bioconductor-biobase bioconductor-s4vectors bioconductor-godb bioconductor-genefilter
  - R --vanilla < R-combat.R

script:
  - python combat.py
  - python test.py


Use a different channel for r-survival
Use a different channel for r-survival
