Skip to content

Apache DataFusion SQL Query Engine

ARROW-7967: [CI][Crossbow] Pin macOS version in autobrew job to match CRAN

Neal Richardsone08db6028a7e
diff --git a/dev/tasks/homebrew-formulae/travis.osx.r.yml b/dev/tasks/homebrew-formulae/travis.osx.r.yml
index 8d150dbb42..f8d6a3a58c 100644
--- a/dev/tasks/homebrew-formulae/travis.osx.r.yml
+++ b/dev/tasks/homebrew-formulae/travis.osx.r.yml
@@ -15,9 +15,8 @@
# limitations under the License.
os: osx
-# CRAN builds on macOS 10.11, so make sure that's what we're testing
-# See https://issues.apache.org/jira/browse/ARROW-7923; this is currently disabled
-# osx_image: xcode8
+# CRAN builds on macOS 10.13, so make sure that's what we're testing
+osx_image: xcode9.4
language: r
cache: packages
r: {{ r_version }}
@@ -43,11 +42,8 @@ before_install:
# Put the formula inside r/ so that it's included in the package build
- cp ../dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb tools/apache-arrow.rb
# Pin the current commit in the formula to test so that we're not always pulling from master
-- sed -i.bak -E -e 's@https://github.com/apache/arrow.git"$@{{ arrow.remote }}", :revision => "'"$(git rev-list -n 1 HEAD)"'"@' tools/apache-arrow.rb
+- sed -i.bak -E -e 's@https://github.com/apache/arrow.git"$@{{ arrow.remote }}", :revision => "{{ arrow.head }}"@' tools/apache-arrow.rb
- rm -f tools/apache-arrow.rb.bak
-# Hack for old macOS (10.11)
-# See https://travis-ci.community/t/library-developer-commandlinetools-sdks-macosx-sdk-missing-on-el-capitain/3213/3
-- sed -i.bak 's/-isysroot /-I/g' $(R RHOME)/etc/Makeconf
script:
- Rscript -e 'install.packages("rcmdcheck")'
# Note that this is not --as-cran. CRAN doesn't do macOS checks --as-cran