[ci] updated fix for macOS on Travis (#1822)

* updated fix for macOS on Travis

* hotfix
This commit is contained in:
Nikita Titov 2018-11-06 05:06:15 +03:00 коммит произвёл Qiwei Ye
Родитель 5c8e365fe5
Коммит b0a938aee1
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -9,7 +9,8 @@ if [[ $OS_NAME == "macos" ]]; then
fi
else
if [[ $TRAVIS == "true" ]]; then
sudo softwareupdate -i "Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.3" # fix "fatal error: _stdio.h: No such file or directory"
# Fix "fatal error: _stdio.h: No such file or directory"
softwareupdate -i "Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.4"
rm '/usr/local/include/c++'
# brew cask uninstall oclint # reserve variant to deal with conflict link
# brew link --overwrite gcc # previous variant to deal with conflict link