Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
4a746575
Commit
4a746575
authored
Jan 17, 2018
by
Davis King
Browse files
Trying to clean up travis config file.
parent
7cd3ebd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
69 deletions
+23
-69
.travis.yml
.travis.yml
+23
-69
No files found.
.travis.yml
View file @
4a746575
language
:
cpp
packages
:
&gcc5_pkgs
-
gcc-5
-
g++-5
-
libstdc++6
matrix
:
include
:
# build and run all tests
-
compiler
:
gcc
###################
-
language
:
cpp
compiler
:
-
gcc
-
clang
os
:
linux
env
:
-
GCC_VER=5
-
ADDRESS_MODEL=64
-
BUILD_SYSTEM=cmake
-
PATH=$HOME/bin:$PATH
-
VARIANT=test
addons
:
&ao_gcc5
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
*gcc5_pkgs
# build all examples
-
compiler
:
gcc
###################
-
language
:
cpp
compiler
:
-
gcc
os
:
linux
env
:
-
GCC_VER=5
-
ADDRESS_MODEL=64
-
BUILD_SYSTEM=cmake
-
PATH=$HOME/bin:$PATH
-
VARIANT=examples
addons
:
*ao_gcc5
# build the python extension
-
compiler
:
gcc
###################
-
language
:
python
python
:
-
"
2.7"
-
"
3.6"
os
:
linux
env
:
-
GCC_VER=5
-
ADDRESS_MODEL=64
-
BUILD_SYSTEM=cmake
-
PATH=$HOME/bin:$PATH
-
VARIANT=python-api
addons
:
&ao_gcc5
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
*gcc5_pkgs
# build the python3 extension
-
compiler
:
gcc
env
:
-
GCC_VER=5
-
ADDRESS_MODEL=64
-
BUILD_SYSTEM=cmake
-
PATH=$HOME/bin:$PATH
-
VARIANT=python3-api
addons
:
&ao_gcc5
apt
:
sources
:
-
ubuntu-toolchain-r-test
-
virtualenv
packages
:
-
python3
-
python3-pip
-
*gcc5_pkgs
-
os
:
osx
###################
-
language
:
cpp
os
:
osx
osx_image
:
xcode9.2
env
:
-
VARIANT=test
-
PATH=$HOME/bin:$PATH
cache
:
directories
:
-
cmake
before_install
:
-
dlib/travis/before-install.sh
install
:
-
if [ "$CXX" == "g++" ]; then export CXX=g++-$GCC_VER; export CC=gcc-$GCC_VER; fi
-
if [ "$CXX" == "clang++" ]; then export CXX=clang++-$CLANG_VER; export CC=clang-$CLANG_VER; fi
script
:
-
dlib/travis/build-and-test.sh
#notifications:
# email:
# false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment