{
   "name" : "Mist",
   "environment":
      {
        "os": "ubuntu_trusty",
        "packages": [
          "ruby2.0",
          "ruby2.0-dev",
          "build-essential",
          "git",
          "zlib1g-dev"
        ]
      },
   "stages" : [
      {
        "name" : "bundle-install",
        "steps" : [
          {
            "action" : "command", 
            "cmd" : "sudo gem2.0 install bundler --no-ri --no-doc"
          },
          {
            "action" : "command",
            "cmd": "bundle install --without lxc gce --path vendor/bundle",
            "path" : "/home/build/Mist"
          }
        ]
      },
      {
        "name" : "lint",
        "steps" : [
          {
            "action" : "command",
            "cmd" : "bundle exec rake rubocop",
            "path" : "/home/build/Mist"
          },
          {
            "action" : "command",
            "cmd" : "bundle exec rake doc",
            "path" : "/home/build/Mist"
          }
        ]
      }
   ],
   "sequence" : [
      {
         "stage" : "bundle-install",
         "on_success" : "lint",
         "on_failure" : "failure"
      },
      {
        "stage" : "lint",
        "on_success" : "success",
        "on_failure" : "failure"
      },
      {
         "stage" : "success"
      },
      {
         "stage" : "failure"
      }
   ]
}

{
   "name" : "Mist",
   "environment":
      {
        "os": "ubuntu_trusty",
        "packages": [
          "ruby2.0",
          "ruby2.0-dev",
          "build-essential",
          "git",
          "zlib1g-dev"
        ]
      },
   "stages" : [
      {
        "name" : "bundle-install",
        "steps" : [
          {
            "action" : "command", 
            "cmd" : "sudo gem2.0 install bundler --no-ri --no-doc"
          },
          {
            "action" : "command",
            "cmd": "bundle install --without lxc gce --path vendor/bundle",
            "path" : "%{workspace}/Mist"
          }
        ]
      },
      {
        "name" : "lint",
        "steps" : [
          {
            "action" : "command",
            "cmd" : "bundle exec rake rubocop",
            "path" : "%{workspace}/Mist"
          },
          {
            "action" : "command",
            "cmd" : "bundle exec rake doc",
            "path" : "%{workspace}/Mist"
          }
        ]
      }
   ],
   "sequence" : [
      {
         "stage" : "bundle-install",
         "on_success" : "lint",
         "on_failure" : "failure"
      },
      {
        "stage" : "lint",
        "on_success" : "success",
        "on_failure" : "failure"
      },
      {
         "stage" : "success"
      },
      {
         "stage" : "failure"
      }
   ]
}

Use the path given to us by Cyclid
Use the path given to us by Cyclid
