machine:
    services:
        - docker
    python:
        version: "2.7"

checkout:
    post:
        - mkdir ~/catkin_ws
        - mkdir ~/catkin_ws/src
        - mkdir ~/catkin_ws/src/pyrostester
        - echo $PWD
        - cd ~/catkin_ws/src/pyrostester
        

dependencies:
    pre:
        - sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
        - sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
        - sudo apt-get update -qq
        - sudo apt-get install -y python-catkin-pkg python-rosdep ros-indigo-catkin ros-indigo-ros ros-indigo-roslaunch build-essential
        - pip install --upgrade pip
    post:
        - pip install -e $PYROS_DIR
        - cp -r $PYROS_DIR/test .

test:
    pre:
        - source /opt/ros/indigo/setup.sh
          #- rosdevel

machine:
    services:
        - docker
    python:
        version: "2.7"

checkout:
    post:
        - mkdir ~/catkin_ws
        - mkdir ~/catkin_ws/src
        - mkdir ~/catkin_ws/src/pyrostester
        - cd ~/catkin_ws/src/pyrostester
        

dependencies:
    pre:
        - sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
        - sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
        - sudo apt-get update -qq
        - sudo apt-get install -y python-catkin-pkg python-rosdep ros-indigo-catkin ros-indigo-ros ros-indigo-roslaunch build-essential
        - pip install --upgrade pip
    post:
        - pip install -e ~/$CIRCLE_PROJECT_REPONAME
        - cp -r ~/$CIRCLE_PROJECT_REPONAME/test .

test:
    pre:
        - source /opt/ros/indigo/setup.sh
          #- rosdevel

Add relative locations for pyros dir.
Add relative locations for pyros dir.
