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
95844595
Commit
95844595
authored
Jan 17, 2018
by
Davis King
Browse files
more travis stuff
parent
82b8f8b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
23 deletions
+12
-23
.travis.yml
.travis.yml
+11
-0
dlib/travis/before-install.sh
dlib/travis/before-install.sh
+0
-17
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+1
-6
No files found.
.travis.yml
View file @
95844595
...
@@ -13,6 +13,17 @@ matrix:
...
@@ -13,6 +13,17 @@ matrix:
script
:
script
:
-
dlib/travis/build-and-test.sh
-
dlib/travis/build-and-test.sh
###################
-
language
:
cpp
compiler
:
clang
os
:
linux
env
:
-
VARIANT=examples
-
CXX=clang++
-
CC=clang
script
:
-
dlib/travis/build-and-test.sh
###################
###################
-
language
:
cpp
-
language
:
cpp
compiler
:
gcc
compiler
:
gcc
...
...
dlib/travis/before-install.sh
deleted
100755 → 0
View file @
82b8f8b4
#!/usr/bin/env bash
# Exit if anything fails.
set
-eux
## download CMAKE 3.5 to get colored output
if
[[
!
-x
cmake/bin/cmake
&&
-d
cmake
]]
;
then
rm
-rf
cmake
fi
if
[[
!
-d
cmake
]]
;
then
CMAKE_URL
=
"http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
mkdir
-v
cmake
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake
fi
dlib/travis/build-and-test.sh
View file @
95844595
...
@@ -20,12 +20,7 @@ fi
...
@@ -20,12 +20,7 @@ fi
if
[
"
$VARIANT
"
=
"python-api"
]
;
then
if
[
"
$VARIANT
"
=
"python-api"
]
;
then
python setup.py
test
--clean
python setup.py
test
--clean
pip
install
numpy
pip
un
install numpy
python setup.py
test
--clean
python setup.py
test
--clean
fi
fi
if
[
"
$VARIANT
"
=
"python3-api"
]
;
then
python3 setup.py
test
--clean
pip3
install
numpy
python3 setup.py
test
--clean
fi
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