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"
|
||||
|
||||
script:
|
||||
- pip3 install --upgrade pip
|
||||
- pip3 install dlib
|
||||
|
||||
# Build the binary (.deb)
|
||||
- debuild -i -us -uc -b
|
||||
# Install the binary, running the debian scripts in the process
|
||||
|
|
@ -32,3 +35,4 @@ addons:
|
|||
- devscripts
|
||||
- fakeroot
|
||||
- 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")
|
||||
|
||||
|
||||
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"
|
||||
loader = which("wget")
|
||||
LOADER_CMD = None
|
||||
|
|
@ -149,6 +153,7 @@ cmd = ["sudo", "python3", "setup.py", "install"]
|
|||
cuda_used = False
|
||||
flags = ""
|
||||
|
||||
if "HOWDY_SKIP_DLIB" not in os.environ:
|
||||
# Get the CPU details
|
||||
with open("/proc/cpuinfo") as info:
|
||||
for line in info:
|
||||
|
|
|
|||
Loading…
Reference in a new issue