2016-10-15 02:44:31 +08:00
|
|
|
|
|
|
|
|
2018-01-18 09:18:47 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
###################
|
|
|
|
- language: cpp
|
2018-01-18 10:00:38 +08:00
|
|
|
compiler: clang
|
2018-01-18 09:18:47 +08:00
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- VARIANT=test
|
2018-01-18 10:00:38 +08:00
|
|
|
- CXX=clang++
|
|
|
|
- CC=clang
|
2018-01-18 09:18:47 +08:00
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
2018-01-18 09:03:17 +08:00
|
|
|
|
2018-01-18 10:13:01 +08:00
|
|
|
###################
|
|
|
|
- language: cpp
|
|
|
|
compiler: clang
|
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- VARIANT=examples
|
|
|
|
- CXX=clang++
|
|
|
|
- CC=clang
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
2018-01-18 09:18:47 +08:00
|
|
|
###################
|
|
|
|
- language: cpp
|
2018-01-18 10:00:38 +08:00
|
|
|
compiler: gcc
|
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- VARIANT=test
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
2018-01-22 01:23:40 +08:00
|
|
|
########### test with C++17 ########
|
|
|
|
- language: cpp
|
|
|
|
compiler: gcc
|
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- VARIANT=test
|
|
|
|
- CXX=g++-7
|
|
|
|
- CC=gcc-7
|
|
|
|
- CXXFLAGS=-std=c++17
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-7
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
2018-01-18 10:00:38 +08:00
|
|
|
###################
|
|
|
|
- language: cpp
|
|
|
|
compiler: gcc
|
2018-01-18 09:18:47 +08:00
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- VARIANT=examples
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
|
|
|
###################
|
|
|
|
- language: python
|
2018-01-18 09:24:00 +08:00
|
|
|
python: 2.7
|
2018-01-18 09:18:47 +08:00
|
|
|
env:
|
|
|
|
- VARIANT=python-api
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
2018-01-18 10:00:38 +08:00
|
|
|
###################
|
|
|
|
- language: python
|
|
|
|
python: 3.5
|
|
|
|
env:
|
|
|
|
- VARIANT=python-api
|
|
|
|
script:
|
|
|
|
- dlib/travis/build-and-test.sh
|
|
|
|
|
2018-01-18 09:18:47 +08:00
|
|
|
###################
|
2018-01-19 23:46:47 +08:00
|
|
|
# # 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
|
2018-01-18 09:18:47 +08:00
|
|
|
|
2016-10-15 02:44:31 +08:00
|
|
|
|
|
|
|
|