Merge pull request #132 from alicevision/ciTravis

Linux CI
This commit is contained in:
Fabien Castan 2018-06-14 16:03:55 +02:00 committed by GitHub
commit 92fc8bfedc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 6 deletions

13
.travis.yml Normal file
View file

@ -0,0 +1,13 @@
language: python
python:
- "2.7"
- "3.6"
install:
- "pip install -r requirements.txt -r dev_requirements.txt --timeout 45"
script:
- "pytest tests/"
after_success:
- "python setup.py build"

View file

@ -6,8 +6,9 @@ Learn more details about the pipeline on [AliceVision website](http://alicevisio
See [results of the pipeline on sketchfab](http://sketchfab.com/AliceVision).
Continous integration:
Continuous integration:
* Windows: [![Build status](https://ci.appveyor.com/api/projects/status/25sd7lfr3v0rnvni/branch/develop?svg=true)](https://ci.appveyor.com/project/AliceVision/meshroom/branch/develop)
* Linux: [![Build Status](https://travis-ci.org/alicevision/meshroom.svg?branch=develop)](https://travis-ci.org/alicevision/meshroom)
## Photogrammetry
Photogrammetry is the science of making measurements from photographs.
@ -36,11 +37,14 @@ pip install -r requirements.txt
## Start Meshroom
You need to have [AliceVision](https://github.com/alicevision/AliceVision) installation in your PATH and LD_LIBRARY_PATH.
You need to have [AliceVision](https://github.com/alicevision/AliceVision) installation in your PATH (and LD_LIBRARY_PATH on Linux/macOS).
- __Launch the User Interface__
```
```bash
# Windows
set PYTHONPATH=%CD% && python meshroom/ui
# Linux/macOS
PYTHONPATH=$PWD python meshroom/ui
```
@ -50,7 +54,8 @@ You may need to adjust the folder `/usr/lib/nvidia-340` with the correct driver
- __Launch a 3D reconstruction in command line__
```bash
# Windows: set PYTHONPATH=%CD% &&
# Linux/macOS: PYTHONPATH=$PWD
python bin/meshroom_photogrammetry --input INPUT_IMAGES_FOLDER --output OUTPUT_FOLDER
```
PYTHONPATH=$PWD python bin/meshroom_photogrammetry --input INPUT_IMAGES_FOLDER --output OUTPUT_FOLDER
```