-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (34 loc) · 1.37 KB
/
.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
30
31
32
33
34
35
language: python
python:
- "2.7"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
# command to install dependencies
virtualenv:
system_site_packages: true
before_install:
#Uses miniconda installation of scientific python packages instead of building from source
#or using old versions supplied by apt-get. Source: https://gist.github.com/dan-blanchard/7045057
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- sudo apt-get install -qq build-essential
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- conda install --yes python=3.4 pip
- pip install snakemake cookiecutter
- git clone https://github.com/EnvGen/cookiecutter-binning-project-demo.git
- cd cookiecutter-binning-project-demo
- chmod +x run_all.sh
- git config --global user.email [email protected]
- git config --global user.name "John Doe"
- mkdir $HOME/logs
# command to run tests
script: ./run_all.sh
branches:
only:
- master
- develop