Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 84eef1b

Browse files
committedJun 17, 2019
Merge upstream/master
2 parents 328bc37 + 6f5bebc commit 84eef1b

File tree

153 files changed

+5996
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+5996
-465
lines changed
 

‎.clang-tidy

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
# under the License.
1717
---
1818
Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,google-*,modernize-*,readability-*'
19-
HeaderFilterRegex: 'arrow/.*'
19+
# produce HeaderFilterRegex from cpp/build-support/lint_exclusions.txt with:
20+
# echo -n '^('; sed -e 's/*/\.*/g' cpp/build-support/lint_exclusions.txt | tr '\n' '|'; echo ')$'
21+
HeaderFilterRegex: '^(.*codegen.*|.*_generated.*|.*windows_compatibility.h|.*pyarrow_api.h|.*pyarrow_lib.h|.*python/config.h|.*python/platform.h|.*thirdparty/ae/.*|.*vendored/.*|.*RcppExports.cpp.*|)$'
2022
AnalyzeTemporaryDtors: true
2123
CheckOptions:
2224
- key: google-readability-braces-around-statements.ShortStatementLines

‎.travis.yml

+11-18
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,9 @@ matrix:
336336
after_success:
337337
- pushd ${TRAVIS_BUILD_DIR}/go/arrow
338338
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
339-
- name: R
339+
- name: R (with and without libarrow)
340340
language: r
341341
cache: packages
342-
latex: false
343342
dist: xenial
344343
env:
345344
- ARROW_TRAVIS_PARQUET=1
@@ -348,6 +347,14 @@ matrix:
348347
# Have to copy-paste this here because of how R's build steps work
349348
- eval `python $TRAVIS_BUILD_DIR/ci/detect-changes.py`
350349
- if [ $ARROW_CI_R_AFFECTED != "1" ]; then exit; fi
350+
# First check that it builds without libarrow
351+
- pushd ${TRAVIS_BUILD_DIR}/r
352+
- R -e 'install.packages("remotes"); remotes::install_deps(dep = TRUE)'
353+
- R CMD build .
354+
- R CMD check arrow_*tar.gz
355+
- rm arrow_*tar.gz
356+
- popd
357+
# Now, proceed to install the c++ lib and the rest of the job
351358
- |
352359
if [ $TRAVIS_OS_NAME == "linux" ]; then
353360
sudo bash -c "echo -e 'Acquire::Retries 10; Acquire::http::Timeout \"20\";' > /etc/apt/apt.conf.d/99-travis-retry"
@@ -363,25 +370,11 @@ matrix:
363370
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TRAVIS_BUILD_DIR/cpp-install/lib
364371
- export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TRAVIS_BUILD_DIR/cpp-install/lib/pkgconfig
365372
- export CXX11FLAGS=-Wall
373+
# Add this env var so we can assert in the tests that the library is installed correctly
374+
- export TEST_R_WITH_ARROW=TRUE
366375
- pushd ${TRAVIS_BUILD_DIR}/r
367376
after_success:
368377
- Rscript ../ci/travis_upload_r_coverage.R
369-
- name: R_no_libarrow
370-
language: r
371-
cache: packages
372-
latex: false
373-
dist: xenial
374-
before_install:
375-
# Have to copy-paste this here because of how R's build steps work
376-
- eval `python $TRAVIS_BUILD_DIR/ci/detect-changes.py`
377-
- if [ $ARROW_CI_R_AFFECTED != "1" ]; then exit; fi
378-
- |
379-
if [ $TRAVIS_OS_NAME == "linux" ]; then
380-
sudo bash -c "echo -e 'Acquire::Retries 10; Acquire::http::Timeout \"20\";' > /etc/apt/apt.conf.d/99-travis-retry"
381-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
382-
sudo apt-get update -qq
383-
fi
384-
- pushd ${TRAVIS_BUILD_DIR}/r
385378

386379
after_failure:
387380
- |

0 commit comments

Comments
 (0)
Please sign in to comment.