π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
add make file commands to travis
edgarriba13f890fc212d
diff --git a/.gitignore b/.gitignoreindex d6a06ea70..e0387f788 100644--- a/.gitignore+++ b/.gitignore@@ -14,3 +14,4 @@ torchgeometry.egg-info/.pytest_cache/*.dev_env.mypy_cache/*+.coveragediff --git a/.travis.yml b/.travis.ymlindex 8885fb911..09eeeb446 100644--- a/.travis.yml+++ b/.travis.yml@@ -10,20 +10,20 @@ before_install:- source path.bash.incinstall:- - python setup.py install+ - make installmatrix:include:- env: lint check- script: python verify.py --check lint+ script: make lint- env: static check- script: python verify.py --check mypy+ script: make mypy- env: docs- script: python verify.py --check build-docs+ script: make build-docs- env: unit tests- script: pytest -vx --cov=torchgeometry test+ script: make test-cpu-covafter_success:- bash <(curl -s https://codecov.io/bash)diff --git a/Makefile b/Makefileindex edf369585..517dd5ef7 100644--- a/Makefile+++ b/Makefile@@ -1,12 +1,15 @@-.PHONY: test test_cpu test_gpu+.PHONY: test test-cpu test-gpu lint mypy build-docs install uninstall FORCEtest: test_cpu test_gpu-test_cpu: FORCE- python setup.py install && pytest --typetest cpu+test-cpu: FORCE+ pytest --typetest cpu -vx-test_gpu: FORCE- python setup.py install && pytest --typetest cuda+test-cpu-cov: FORCE+ pytest --typetest cpu -vx --cov=torchgeommetry test++test-gpu: FORCE+ pytest --typetest cuda -vxlint: FORCEpython verify.py --check lint@@ -14,8 +17,8 @@ lint: FORCEmypy: FORCEpython verify.py --check mypy-docs: FORCE- $(MAKE) -C docs html+build-docs: FORCE+ python verify.py --check build-docsinstall: FORCEpython setup.py install