[mlpack-git] master: travis.yml: don't die when diff reports diff (8973354)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Sun Feb 15 15:11:20 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/0bb8b0f4e578bcefbd435d31708d7b49987617e3...c42ca0ee5228ba83123767ea8899fcf6e4817b42

>---------------------------------------------------------------

commit 8973354697271d0684410f557b9eaedcc9222ba6
Author: Stephen Tu <tu.stephenl at gmail.com>
Date:   Sat Feb 14 22:46:56 2015 -0800

    travis.yml: don't die when diff reports diff


>---------------------------------------------------------------

8973354697271d0684410f557b9eaedcc9222ba6
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 75a3b6a..a9031aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ before_install:
   - export CC=gcc-4.8
   - export CXX=g++-4.8
   - printenv
-  - diff -u /usr/include/armadillo_bits/config.hpp .travis/config.hpp
+  - diff -u /usr/include/armadillo_bits/config.hpp .travis/config.hpp || exit 0
   - sudo cp .travis/config.hpp /usr/include/armadillo_bits/config.hpp
 install:
   - mkdir build && cd build && cmake .. && make -j4 



More information about the mlpack-git mailing list