Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
526fa502
Commit
526fa502
authored
Mar 30, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more travis debug
parent
963bc0fe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
30 deletions
+20
-30
build-and-test.sh
dlib/travis/build-and-test.sh
+9
-21
get-old-cmakes.sh
dlib/travis/get-old-cmakes.sh
+11
-9
No files found.
dlib/travis/build-and-test.sh
View file @
526fa502
...
...
@@ -35,32 +35,20 @@ fi
if
[
"
$VARIANT
"
=
"old-cmake"
]
;
then
mkdir
build
cd
build
ls
..
ls
../cmake
ls
../cmake/2.8
ls
../cmake/2.8/bin/
ls
-l
../cmake/2.8/bin/cmake
CMAKEDIR
=
../cmake2
ls
$CMAKEDIR
ls
$CMAKEDIR
/2.8/bin/cmake
echo echo
what is the deal
>
wtf
chmod
u+x ./wtf
ls
-l
wtf
./wtf
cp
../cmake/2.8/bin/cmake wtf
ls
-l
wtf
./wtf
--version
../cmake/2.8/bin/cmake
--version
../cmake/2.8/bin/cmake ../dlib/test/tools
../cmake/2.8/bin/cmake
--build
.
--
-j
2
$CMAKEDIR
/2.8/bin/cmake ../dlib/test/tools
$CMAKEDIR
/2.8/bin/cmake
--build
.
--
-j
2
rm
-rf
*
../cmake
/3.1/bin/cmake ../dlib/test/tools
../cmake
/3.1/bin/cmake
--build
.
--
-j
2
$CMAKEDIR
/3.1/bin/cmake ../dlib/test/tools
$CMAKEDIR
/3.1/bin/cmake
--build
.
--
-j
2
rm
-rf
*
../cmake
/3.5/bin/cmake ../dlib/test/tools
../cmake
/3.5/bin/cmake
--build
.
--
-j
2
$CMAKEDIR
/3.5/bin/cmake ../dlib/test/tools
$CMAKEDIR
/3.5/bin/cmake
--build
.
--
-j
2
fi
if
[
"
$VARIANT
"
=
"examples"
]
;
then
...
...
dlib/travis/get-old-cmakes.sh
View file @
526fa502
...
...
@@ -3,26 +3,28 @@
# Exit if anything fails.
set
-eux
OUTDIR
=
cmake2
echo
"Checking if cmake already downloaded"
if
[
!
-x
cmake/2.8/bin/cmake
]
||
[
!
-x
cmake/3.1/bin/cmake
]
||
[
!
-x
cmake
/3.5/bin/cmake
]
;
then
if
[
!
-x
$OUTDIR
/2.8/bin/cmake
]
||
[
!
-x
$OUTDIR
/3.1/bin/cmake
]
||
[
!
-x
$OUTDIR
/3.5/bin/cmake
]
;
then
echo
"Didn't find it, clearing old cmake folder"
rm
-rf
cmake
rm
-rf
$OUTDIR
fi
if
[[
!
-d
cmake
]]
;
then
if
[[
!
-d
$OUTDIR
]]
;
then
echo
"Downloading cmake..."
CMAKE_URL
=
"http://www.cmake.org/files/v2.8/cmake-2.8.12-Linux-i386.tar.gz"
mkdir
-p
cmake
/2.8
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake
/2.8
mkdir
-p
$OUTDIR
/2.8
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
$OUTDIR
/2.8
CMAKE_URL
=
"http://www.cmake.org/files/v3.1/cmake-3.1.2-Linux-x86_64.tar.gz"
mkdir
-p
cmake
/3.1
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake
/3.1
mkdir
-p
$OUTDIR
/3.1
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
$OUTDIR
/3.1
CMAKE_URL
=
"http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
mkdir
-p
cmake
/3.5
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
cmake
/3.5
mkdir
-p
$OUTDIR
/3.5
wget
--no-check-certificate
-O
-
${
CMAKE_URL
}
|
tar
--strip-components
=
1
-xz
-C
$OUTDIR
/3.5
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