• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1branches:
2  only:
3    - master
4
5os: Visual Studio 2015
6
7platform:
8  - x86
9  - x64
10
11configuration:
12  - Debug
13  - Release
14
15before_build:
16  - cmake -G"Visual Studio 10 2010"
17  # This cuts down on a lot of noise generated by xamarin warnings.
18  - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
19
20build:
21  project: ALL_BUILD.vcxproj
22  verbosity: minimal
23
24test_script:
25  - rem "---------------- C++ -----------------"
26  - "%CONFIGURATION%\\flattests.exe"
27  - rem "---------------- Java -----------------"
28  - "cd tests"
29  - "java -version"
30  - "JavaTest.bat"
31  - rem "---------------- JS -----------------"
32  - "node --version"
33  - "..\\%CONFIGURATION%\\flatc -b monster_test.fbs unicode_test.json"
34  - "node JavaScriptTest"
35  - rem "---------------- C# -----------------"
36  # Have to compile this here rather than in "build" above because AppVeyor only
37  # supports building one project??
38  - "cd FlatBuffers.Test"
39  - "msbuild.exe /property:Configuration=Release;OutputPath=tempcs /verbosity:minimal FlatBuffers.Test.csproj"
40  - "tempcs\\FlatBuffers.Test.exe"
41  # TODO: add more languages.
42  - "cd ..\\.."
43
44artifacts:
45  - path: $(CONFIGURATION)\\flatc.exe
46    name: flatc.exe
47