Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Sep 17, 2014
1 parent c4ffda0 commit 9dc1b51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ before_script:
- cmake -DOpenMVG_BUILD_COVERAGE=ON -DOpenMVG_BUILD_TESTS=ON -DOpenMVG_BUILD_EXAMPLES=ON . ../openMVG/src

script:
- make -j 4
# limit GCC builds to a reduced number of thread for the virtual machine
- if [ "$CC" = "gcc" ]; then make -j 2; else make -j 4; fi
# Perform unit tests only on GCC builds
- if [ "$CC" = "gcc" ]; then make test; fi

Expand Down

0 comments on commit 9dc1b51

Please sign in to comment.