machine:
  python:
    version: anaconda3-4.0.0

  environment:
    PATH: /home/ubuntu/virtualenvs/venv-anaconda3-4.0.0/bin:$PATH
    LD_LIBRARY_PATH: /opt/circleci/.pyenv/versions/anaconda3-4.0.0/lib

dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install build-essential cmake swig
    - sudo apt-get install git wget vim tmux unzip
    - sudo apt-get install libboost-program-options-dev libboost-python-dev libtool libboost-all-dev
    - sudo apt-get install liblzma-dev libpq-dev
    - sudo apt-get install default-jre default-jdk
    - conda install -y numpy scipy
    - conda install -y nltk
    - conda install -y seaborn matplotlib
    - conda install -y scikit-learn
    - pip install py4j
    - pip install pyfunctional
    - pip install click
    - pip install requests
  override:
    - python setup.py download


machine:
  python:
    version: anaconda3-4.0.0

  environment:
    PATH: /home/ubuntu/virtualenvs/venv-anaconda3-4.0.0/bin:$PATH
    LD_LIBRARY_PATH: /opt/circleci/.pyenv/versions/anaconda3-4.0.0/lib

dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install build-essential cmake swig
    - sudo apt-get install git wget vim tmux unzip
    - sudo apt-get install libboost-program-options-dev libboost-python-dev libtool libboost-all-dev
    - sudo apt-get install liblzma-dev libpq-dev
    - sudo apt-get install default-jre default-jdk
    - pip install -r requirements.txt
  override:
    - python setup.py download


Use pip install to play well with virtualenv
Use pip install to play well with virtualenv
