File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : cpp
2
+
3
+ # Build with gcc and clang.
4
+ compiler :
5
+ - gcc
6
+ - clang
7
+
8
+ # Build both debug and release configurations, through use of an environment variable in the build matrix.
9
+ env :
10
+ - CONFIGURATION=Debug
11
+ - CONFIGURATION=Release
12
+
13
+ # Run cmake to generate makefiles in 'builds' directory.
14
+ # No need to create it because it's part of the repo.
15
+ # Pass along configuration type to cmake
16
+ before_script :
17
+ - cd builds && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=$CONFIGURATION ../ && cd ..
18
+
19
+ # Run make in the directory containing generated makefiles.
20
+ script :
21
+ - make -C builds
Original file line number Diff line number Diff line change
1
+ os :
2
+ - Windows Server 2012 R2
3
+
4
+ install :
5
+ # Generate solution files using cmake, in 'builds' directory.
6
+ # No need to create it because it's part of the repo.
7
+ - cd builds && cmake -G "Visual Studio 12" ../ && cd ..
8
+
9
+ configuration :
10
+ - Debug
11
+ - Release
12
+
13
+ build :
14
+ project : builds/UnitTest++.sln
You can’t perform that action at this time.
0 commit comments