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 <jbarr...@pivotal.io>
Authored: Fri Aug 11 16:04:40 2017 -0700
Committer: Jacob Barrett <jbarr...@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:

Reply via email to