Recently I get the following error on travis:
/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! (RuntimeError)
The command "if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi" exited with 1.
I am not sure where to start fixing this and would be grateful for suggestions.
Here is my Travis file:
language: julia
os:
- linux
- osx
julia:
- 0.5
addons:
apt:
packages:
- gfortran
notifications:
email: false
script:
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'ENV["PYTHON"]=""; Pkg.add("PyCall"); Pkg.add("Conda"); using Conda; Conda.add("NumPy"); Conda.add("SciPy"); Pkg.clone(pwd()); Pkg.build("JuLIP"); Pkg.test("JuLIP"; coverage=true)'