Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
Restore clang build to CI, and perform unit test only on GCC build
  • Loading branch information
pmoulon committed Apr 24, 2014
1 parent e57e671 commit af53cc1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#
# http://travis-ci.org configuration file for openMVG
#

language: cpp

compiler:
- gcc
- clang

before_install:
- export NUM_CPU="`grep processor /proc/cpuinfo | wc -l`"; echo $NUM_CPU
Expand All @@ -16,7 +21,8 @@ before_script:

script:
- make -j 4
- make test
# Perform unit tests only on GCC builds
- if [ "$CC" = "gcc" ]; then make test; fi

branches:
only:
Expand Down

0 comments on commit af53cc1

Please sign in to comment.