Skip to content

Commit 019b096

Browse files
committed
Added Travis CI configuration
1 parent 62df0df commit 019b096

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language:
2+
- cpp
3+
4+
compiler:
5+
- gcc
6+
7+
before_install:
8+
- sudo apt-get install libboost-dev
9+
10+
script:
11+
- mkdir _builds
12+
- cd _builds
13+
- cmake ..
14+
- make
15+
- ctest

CMakeLists.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
add_compile_options(-std=c++11)
2+
3+
project(DynVarsCC)
4+
5+
find_package(Boost REQUIRED)
6+
7+
include_directories(${Boost_INCLUDE_DIRS})
8+
9+
add_executable(example "./example.cpp")
10+
11+
enable_testing()
12+
add_test(DynVarsCCExample example)

0 commit comments

Comments
 (0)