mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Travis
This commit is contained in:
parent
ae62f87f87
commit
b06b829d1a
@ -55,6 +55,7 @@ matrix:
|
|||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
|
- virtualenv
|
||||||
packages:
|
packages:
|
||||||
- python3
|
- python3
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
@ -25,11 +25,10 @@ if [ "$VARIANT" = "python-api" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$VARIANT" = "python3-api" ]; then
|
if [ "$VARIANT" = "python3-api" ]; then
|
||||||
#python3 setup.py test --clean
|
virtualenv -p python3 dlibtest
|
||||||
#pip3 install --user numpy
|
source dlibtest/bin/activate
|
||||||
#python3 setup.py test --clean
|
pip3 install -U setuptools
|
||||||
|
python3 setup.py test --clean
|
||||||
python3 setup.py build --clean
|
|
||||||
pip3 install --user numpy
|
pip3 install --user numpy
|
||||||
python3 setup.py build --clean
|
python3 setup.py test --clean
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user