language: python

python:
  - "2.7"

install:
  # Install conda
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - pushd deploy
  - ./install_taxbrain_server.sh
  - popd
  - source activate aei_dropq

before_script:
  - python manage.py syncdb --noinput
  - python manage.py makemigrations taxbrain
  - python manage.py migrate taxbrain
  - python manage.py migrate --fake

script:
  - py.test webapp/apps/

language: python

python:
  - "2.7"

install:
  # Install conda
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
  - pushd deploy
  - ./install_taxbrain_server.sh
  - popd
  - source activate aei_dropq

before_script:
  - python manage.py syncdb --noinput
  - python manage.py makemigrations taxbrain
  - python manage.py migrate taxbrain
  - python manage.py migrate --fake

script:
  - py.test webapp/apps/

Patch for stdout blocking mode bug
Patch for stdout blocking mode bug
