language: python
python:
  - "2.7"

#env: HOME=/home/travis/mredar -- doesn't work
env: CODE_DIR=.

# command to install dependencies
install: 
  - "python setup.py install"
  - "cp akara.ini.tmpl akara.ini"
  - "mkdir profiles"
  - "mkdir -p ${HOME}/code/harvester/harvester/"
  - "touch ${HOME}/code/harvester/harvester/grab-solr-index-playbook.yml"
  - "touch ${HOME}/code/harvester/harvester/host_inventory"

# command to run tests
script: python setup.py test

language: python
python:
  - "2.7"

#env: HOME=/home/travis/mredar -- doesn't work
env: CODE_DIR=.

# command to install dependencies
install: 
  # this next is needed but not installed by setup.py
  # due to "secret" bitbucket with our modifications
  - "pip install git+https://github.com/mredar/ingestion.git"
  - "python setup.py install"
  - "cp akara.ini.tmpl akara.ini"
  - "mkdir profiles"
  - "mkdir -p ${HOME}/code/harvester/harvester/"
  - "touch ${HOME}/code/harvester/harvester/grab-solr-index-playbook.yml"
  - "touch ${HOME}/code/harvester/harvester/host_inventory"

# command to run tests
script: python setup.py test

Install dpla ingestion to run tests
Install dpla ingestion to run tests
