You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/08/11 23:53:08 UTC

[52/52] geode-native git commit: GEODE-3165: Fixes Travis CI to build from new source root.

GEODE-3165: Fixes Travis CI to build from new source root.


Project: http://git-wip-us.apache.org/repos/asf/geode-native/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-native/commit/44635ffa
Tree: http://git-wip-us.apache.org/repos/asf/geode-native/tree/44635ffa
Diff: http://git-wip-us.apache.org/repos/asf/geode-native/diff/44635ffa

Branch: refs/heads/develop
Commit: 44635ffa95926c9cffecc1dcaac02fb3012d1eef
Parents: 6cbd424
Author: Jacob Barrett <jb...@pivotal.io>
Authored: Fri Aug 11 16:04:40 2017 -0700
Committer: Jacob Barrett <jb...@pivotal.io>
Committed: Fri Aug 11 16:27:24 2017 -0700

----------------------------------------------------------------------
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-native/blob/44635ffa/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index c5375a4..54e94ec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,10 +25,10 @@ services:
 install:
   - docker pull apachegeode/geode-native-build
 
-script: 
+script:
   - DOCKER_ARGS="--volume=${TRAVIS_BUILD_DIR}:/geode-native --workdir=/geode-native"
   - docker run ${DOCKER_ARGS} apachegeode/geode-native-build bash -c "java -jar /apache-rat-0.12/apache-rat-0.12.jar -E .ratignore -d ."
-  - docker run ${DOCKER_ARGS} apachegeode/geode-native-build bash -c "mkdir build && cd build && cmake ../src && cmake --build . -- -j 8 && ./cppcache/test/apache-geode_unittests"
+  - docker run ${DOCKER_ARGS} apachegeode/geode-native-build bash -c 'mkdir build && cd build && cmake .. && cmake --build . -- -j $((`nproc`+1)) && ./cppcache/test/apache-geode_unittests'
   - docker stop $(docker ps -l -q)
 
 notifications: