Skip to content

Commit

Permalink
[ci] updated fix for macOS on Travis (#1822)
Browse files Browse the repository at this point in the history
* updated fix for macOS on Travis

* hotfix
  • Loading branch information
StrikerRUS authored and chivee committed Nov 6, 2018
1 parent 5c8e365 commit b0a938a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/setup.sh
Expand Up @@ -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
Expand Down

3 comments on commit b0a938a

@guolinke
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the tests in macos still failed in travis.

@guolinke
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StrikerRUS It seems these fails show up randomly.

@StrikerRUS
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guolinke Yeah!.. After this PR failures have started to appear randomly (instead of constantly fails before). But I don't know what can I do more... Maybe it's a problem with network connection between Travis and Apple update repo?

Please sign in to comment.