swig/Tools/travis-osx-install.sh
William S Fulton 97c138dbd8 Travis: ensure the requested language version is being tested
The various Python versions were not being tested
2016-02-04 08:32:30 +00:00

27 lines
405 B
Bash
Executable file

#!/bin/bash
sw_vers
brew update
brew list
brew install pcre
# brew install boost
WITHLANG=$SWIGLANG
case "$SWIGLANG" in
"csharp")
brew install https://s3.amazonaws.com/travisbuilds.swig.org/mono.rb
;;
"guile")
Tools/brew-install guile
;;
"lua")
brew install lua
;;
"python")
WITHLANG=$SWIGLANG$PY3
if [[ "$PY3" ]]; then
brew install python3
brew list -v python3
fi
;;
esac