Skip to content

Commit

Permalink
Attempt to fix osx travis (#18563)
Browse files Browse the repository at this point in the history
* Attempt to fix osx travis

We're now getting
> Error: You must `brew link autoconf` before staticfloat/julia/julia can be installed

Probably because Homebrew officially started supporting 10.12 Sierra, and that broke something.
Try to use the 10.10 Travis OSX image instead of the default 10.9 (https://docs.travis-ci.com/user/osx-ci-environment/)

* explicitly install cmake on osx travis

(cherry picked from commit 45bc17d)
  • Loading branch information
tkelman committed Sep 17, 2016
1 parent e770e92 commit 6975bd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ matrix:
- gfortran
- os: osx
env: ARCH="x86_64"
osx_image: xcode7
cache:
directories:
- $TRAVIS_BUILD_DIR/deps-i686
Expand Down Expand Up @@ -64,7 +65,7 @@ before_install:
contrib/travis_fastfail.sh || exit 1;
brew tap staticfloat/julia;
brew rm --force $(brew deps julia);
brew install -v staticfloat/juliadeps/libgfortran;
brew install -v cmake staticfloat/juliadeps/libgfortran;
brew install -v --only-dependencies julia;
BUILDOPTS="-j3 USECLANG=1 LLVM_CONFIG=$(brew --prefix llvm33-julia)/bin/llvm-config-3.3 VERBOSE=1 USE_BLAS64=0 SUITESPARSE_INC=-I$(brew --prefix suite-sparse-julia)/include FORCE_ASSERTIONS=1 STAGE2_DEPS=utf8proc";
BUILDOPTS="$BUILDOPTS LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas";
Expand Down

0 comments on commit 6975bd8

Please sign in to comment.