Skip to content

Commit 8fa3902

Browse files
committed
Add CI
1 parent c731545 commit 8fa3902

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

.buckconfig

Whitespace-only changes.

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Ubuntu 14.04 Trusty support
2+
sudo: required
3+
dist: trusty
4+
5+
language:
6+
- cpp
7+
8+
compiler:
9+
- clang
10+
- gcc
11+
12+
script:
13+
- mkdir build
14+
- cd build
15+
- cmake -G "Unix Makefiles" .. && cmake --build . && ctest

BUCK

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
prebuilt_cxx_library(
2+
name = 'optional-bare',
3+
header_namespace = '',
4+
header_only = True,
5+
exported_headers = subdir_glob([
6+
('include/nonstd', '**/*.hpp'),
7+
]),
8+
visibility = [
9+
'PUBLIC',
10+
],
11+
)

appveyor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: '1.0.{build}'
2+
3+
configuration:
4+
- Debug
5+
6+
os: Visual Studio 2015
7+
8+
before_build:
9+
- mkdir build
10+
- cd build
11+
- cmake -G "Visual Studio 14 2015" ..
12+
13+
build_script:
14+
- cmake --build .
15+
- ctest -C %CONFIGURATION%

project/CodeBlocks/optional-bare.cbp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
<Option compiler="gcc" />
1212
</Target>
1313
</Build>
14+
<Unit filename="../../.buckconfig" />
1415
<Unit filename="../../.gitattributes" />
1516
<Unit filename="../../.gitignore" />
1617
<Unit filename="../../.travis.yml" />
18+
<Unit filename="../../BUCK" />
1719
<Unit filename="../../CHANGES.txt" />
1820
<Unit filename="../../CMakeLists.txt" />
1921
<Unit filename="../../LICENSE" />

0 commit comments

Comments
 (0)