https://github.com/biocore/American-Gut
Revision 32b587516aab8c1a42e6919e7333cd698e91bbc5 authored by JWDebelius on 15 January 2016, 23:17:25 UTC, committed by JWDebelius on 15 January 2016, 23:17:25 UTC
1 parent 5691e6d
Raw File
Tip revision: 32b587516aab8c1a42e6919e7333cd698e91bbc5 authored by JWDebelius on 15 January 2016, 23:17:25 UTC
Tries to use the textlive package manager
Tip revision: 32b5875
.travis.yml
sudo: false
language: python
env:
  - PYTHON_VERSION=2.7
addons:
    apt:
        packages:
            - texlive
    tlmgr install type1cm
before_install:
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda3/bin:$PATH
  - export AG_TESTING='True'
  - export AG_CPU_COUNT=1
install:
  - conda create --yes -n env_name python=$PYTHON_VERSION --file conda_requirements.txt
  - source activate env_name
  - pip install -r pip_requirements.txt
  - pip install -e . --no-deps

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # gives time to start
script:
  - nosetests --with-doctest
  - flake8 americangut/*.py
  - flake8 scripts/*.py scripts/ag
  - ipymd --from markdown --to notebook ipynb/primary-processing/*.md
  - travis_wait 30 ./scripts/run_the_ipys.sh ipynb/primary-processing/
back to top