summaryrefslogtreecommitdiffstats
path: root/ml/dlib/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
commitc21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /ml/dlib/.travis.yml
parentAdding upstream version 1.43.2. (diff)
downloadnetdata-upstream/1.44.3.tar.xz
netdata-upstream/1.44.3.zip
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/dlib/.travis.yml')
-rw-r--r--ml/dlib/.travis.yml107
1 files changed, 107 insertions, 0 deletions
diff --git a/ml/dlib/.travis.yml b/ml/dlib/.travis.yml
new file mode 100644
index 00000000..4604fbaa
--- /dev/null
+++ b/ml/dlib/.travis.yml
@@ -0,0 +1,107 @@
+sudo: required
+
+matrix:
+ include:
+ ###################
+ - language: cpp
+ compiler: clang
+ os: linux
+ env:
+ - VARIANT=test
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: cpp
+ compiler: clang
+ os: linux
+ env:
+ - VARIANT=examples
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: cpp
+ compiler: gcc
+ os: linux
+ env:
+ - VARIANT=test
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: cpp
+ compiler: gcc
+ os: linux
+ env:
+ - VARIANT=tools
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: cpp
+ compiler: gcc
+ os: linux
+ env:
+ - VARIANT=dlib_all_source_cpp
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ########### test with C++17 ########
+ - language: cpp
+ compiler: gcc
+ os: linux
+ env:
+ - VARIANT=test
+ - CXXFLAGS=-std=c++17
+ # Need to set MATRIX_EVAL to set CC and CXX env vars. You would
+ # think you could just set them in the env area like any other, but
+ # travis is wonky about CC and CXX vars so you have to do it this way.
+ - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-7
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: cpp
+ compiler: gcc
+ os: linux
+ env:
+ - VARIANT=examples
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: python
+ python: 2.7
+ env:
+ - VARIANT=python-api
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ - language: python
+ python: 3.5
+ env:
+ - VARIANT=python-api
+ script:
+ - dlib/travis/build-and-test.sh
+
+ ###################
+ # # Disabled because travis's OS X machines take hours (or days) to begin
+ # running. Or maybe they are just broken entirely. Who knows.
+ #- language: cpp
+ # os: osx
+ # osx_image: xcode9.2
+ # env:
+ # - VARIANT=test
+ # script:
+ # - dlib/travis/build-and-test.sh
+
+
+