-
Notifications
You must be signed in to change notification settings - Fork 388
Travis CI #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Travis CI #61
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b02119c
cmake: set cmake3 to publish include directory
dorian3d eff3dcb
travis: travis file
dorian3d bcdc02b
C++ standard set to 11
dorian3d 48d7da6
Add -Wextra flag
dorian3d d8e09a9
Unused variables removed
dorian3d 5b07804
travis: build on osx too
dorian3d 19c2cfd
travis: build on windows too
dorian3d e13fa95
FORB: dead code removed
dorian3d ed1f7fc
FBrief: fix int to float warning
dorian3d 327cd98
FORB: fix conversion warnings
dorian3d 031691d
demo: avoid variable shadowing
dorian3d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| language: cpp | ||
| os: | ||
| - linux | ||
| - osx | ||
| - windows | ||
| dist: | ||
| - bionic | ||
| osx_image: | ||
| - xcode11.3 | ||
| env: | ||
| - OPENCV_BRANCH=master | ||
| - OPENCV_BRANCH=3.4 | ||
| cache: | ||
| directories: | ||
| - ${TRAVIS_BUILD_DIR}/opencv | ||
| before_script: | ||
| - rmdir opencv || true | ||
| - if [ ! -d opencv ]; then git clone --single-branch --branch ${OPENCV_BRANCH} https://github.com/opencv/opencv.git; fi | ||
| - pushd opencv | ||
| - mkdir -p build | ||
| - cd build | ||
| - cmake .. -DBUILD_LIST=core,imgproc,imgcodecs,calib3d,highgui -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=../install | ||
| - cmake --build . --parallel 8 --target install --config Release | ||
| - popd | ||
| script: | ||
| - mkdir -p build | ||
| - cd build | ||
| - export OPENCV_CONFIG=$(dirname $(find ${TRAVIS_BUILD_DIR}/opencv/install -name OpenCVConfig.cmake | head -n1)) | ||
| - cmake .. -DOpenCV_DIR=${OPENCV_CONFIG} | ||
| - cmake --build . --config Release | ||
| - export DEMO=$(find . -type f \( -name demo.exe -o -name demo \) | head -n1) | ||
| - export PATH="$PATH:${TRAVIS_BUILD_DIR}/opencv/install/x86/vc15/bin" | ||
| - echo | $DEMO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this by chance fix the issue with expected location of the exported headers in downstream projects? MIT-SPARK/Kimera-VIO#32 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will. I'm close to have this branch merged, so you will be able to test it.