before_build: cmake -G "Visual Studio 11" .
build:
  project: FORMAT.sln

before_build: cmake .
build:
  project: C:\Program Files\MSBuild\12.0\bin\msbuild FORMAT.sln

Use the absolut path to msbuild.
Use the absolut path to msbuild.