8000 Merge pull request #70 from hymerman/continuous-integration · braincodec/unittest-cpp@ab71665 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab71665

Browse files
committed
Merge pull request unittest-cpp#70 from hymerman/continuous-integration
Continuous integration
2 parents edf1e37 + 76e9982 commit ab71665

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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

0 commit comments

Comments
 (0)
0