general:
  artifacts:
    - "dist"
machine:
  services:
    - docker
dependencies:
  override:
    - sudo pip install -r build_calicoctl/requirements.txt
test:
  override:
    - docker run --net=host -d  quay.io/coreos/etcd:v2.0.8 && mkdir dist && nosetests -c nose.cfg --cover-html-dir=dist --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/output.xml
    - cd build_calicoctl && ./create_binary.sh 

general:
  artifacts:
    - "dist"
machine:
  services:
    - docker
dependencies:
  override:
    - sudo pip install pycparser==2.10 && sudo pip install -r build_calicoctl/requirements.txt
test:
  override:
    - docker run --net=host -d  quay.io/coreos/etcd:v2.0.8 && mkdir dist && nosetests -c nose.cfg --cover-html-dir=dist --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/output.xml
    - cd build_calicoctl && ./create_binary.sh 

Make sure pycparser gets installed first
Make sure pycparser gets installed first
