8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8d3a7 commit 76e9982Copy full SHA for 76e9982
.travis.yml
@@ -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
0 commit comments