From: Adam Kosiorek Date: Thu, 24 Jul 2014 12:31:52 +0000 (+0200) Subject: restoring travis.yml X-Git-Tag: submit/tizen/20180823.020014~620^2~106^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e3f56b98bbe6480277ad8ee24a99df8a9f56f0;p=platform%2Fupstream%2Fcaffeonacl.git restoring travis.yml --- diff --git a/.travis.yml b/.travis.yml index f6b2113..da60258 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,31 +50,25 @@ script: # CMake build. - mkdir build - cd build - ## CPU-only build - #- cmake -DBUILD_PYTHON=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -DCPU_ONLY=ON .. - #- make --keep-going --jobs=$NUM_THREADS - #- make clean - #- rm -rf * - ## GPU + CPU build - cmake -DBUILD_PYTHON=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release .. - make --keep-going --jobs=$NUM_THREADS - make clean - cd .. - rm -r build -# # CPU-GPU: build only. -# - export CPU_ONLY=0 -# - make --keep-going --jobs=$NUM_THREADS all -# - make clean -# # CPU-only: comprehensive. -# - export CPU_ONLY=1 -# - make --keep-going --jobs=$NUM_THREADS all test warn lint -# - make runtest -# - make --jobs=$NUM_THREADS all -# - make --jobs=$NUM_THREADS test -# - make --jobs=$NUM_THREADS warn -# - make --jobs=$NUM_THREADS lint -# - make --jobs=$NUM_THREADS pycaffe + # CPU-GPU: build only. + - export CPU_ONLY=0 + - make --keep-going --jobs=$NUM_THREADS all + - make clean + # CPU-only: comprehensive. + - export CPU_ONLY=1 + - make --keep-going --jobs=$NUM_THREADS all test warn lint + - make runtest + - make --jobs=$NUM_THREADS all + - make --jobs=$NUM_THREADS test + - make --jobs=$NUM_THREADS warn + - make --jobs=$NUM_THREADS lint + - make --jobs=$NUM_THREADS pycaffe notifications: # Emails are sent to the committer's git-configured email address by default,