sudo: required
dist: trusty
language: generic
notifications:
    email:
        recipients:
            - lorena.pantano@gmail.com
        on_failure: always
before_install:
  # - echo "127.0.1.1 "`hostname` | sudo tee /etc/hosts
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
  - bash Miniconda-latest-Linux-x86_64.sh -b -p ~/install
install:
  - export PATH=~/install/bin/:$PATH
  - conda config --add channels r
  - conda update ncurses -c r
  - conda install --yes -c bioconda bcbio-nextgen seqcluster bedtools samtools pip nose -q
script: 
  - nosetests
branches:
    only:
        - master

sudo: required
dist: trusty
language: generic
notifications:
    email:
        recipients:
            - lorena.pantano@gmail.com
        on_failure: always
before_install:
  # - echo "127.0.1.1 "`hostname` | sudo tee /etc/hosts
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
  - bash Miniconda-latest-Linux-x86_64.sh -b -p ~/install
install:
  - export PATH=~/install/bin/:$PATH
  - conda config --add channels r
  - conda install ncurses -c r
  - conda install --yes -c bioconda bcbio-nextgen seqcluster bedtools samtools pip nose -q
script: 
  - nosetests
branches:
    only:
        - master

Install ncurses from r channel
Install ncurses from r channel