Removing dlib from travis for faster tests
This commit is contained in:
parent
a4928144cc
commit
1714579e6e
2 changed files with 72 additions and 63 deletions
|
|
@ -3,6 +3,9 @@ language: python
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- pip3 install --upgrade pip
|
||||||
|
- pip3 install dlib
|
||||||
|
|
||||||
# Build the binary (.deb)
|
# Build the binary (.deb)
|
||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
# Install the binary, running the debian scripts in the process
|
# Install the binary, running the debian scripts in the process
|
||||||
|
|
@ -32,3 +35,4 @@ addons:
|
||||||
- devscripts
|
- devscripts
|
||||||
- fakeroot
|
- fakeroot
|
||||||
- pamtester
|
- pamtester
|
||||||
|
- python3-pip
|
||||||
|
|
|
||||||
5
debian/postinst
vendored
5
debian/postinst
vendored
|
|
@ -104,6 +104,10 @@ handleStatus(subprocess.call(["./install.sh"], shell=True, cwd="/lib/security/ho
|
||||||
|
|
||||||
log("Downloading dlib")
|
log("Downloading dlib")
|
||||||
|
|
||||||
|
|
||||||
|
if "HOWDY_SKIP_DLIB" in os.environ:
|
||||||
|
print(col(2) + "SKIPPING DLIB INSTALLATION BECAUSE OF HOWDY_SKIP_DLIB FLAG" + col(0))
|
||||||
|
else:
|
||||||
dlib_archive = "/tmp/v19.16.tar.gz"
|
dlib_archive = "/tmp/v19.16.tar.gz"
|
||||||
loader = which("wget")
|
loader = which("wget")
|
||||||
LOADER_CMD = None
|
LOADER_CMD = None
|
||||||
|
|
@ -149,6 +153,7 @@ cmd = ["sudo", "python3", "setup.py", "install"]
|
||||||
cuda_used = False
|
cuda_used = False
|
||||||
flags = ""
|
flags = ""
|
||||||
|
|
||||||
|
if "HOWDY_SKIP_DLIB" not in os.environ:
|
||||||
# Get the CPU details
|
# Get the CPU details
|
||||||
with open("/proc/cpuinfo") as info:
|
with open("/proc/cpuinfo") as info:
|
||||||
for line in info:
|
for line in info:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue