update to newest xcode

This commit is contained in:
Cyryl Płotnicki 2019-01-20 15:58:21 +00:00
parent b3a501a28e
commit c4558c8707
2 changed files with 7 additions and 2 deletions

View file

@ -9,7 +9,7 @@ dist: trusty
matrix:
include:
- os: osx
osx_image: xcode9.4
osx_image: xcode10.1
script:
- ./test.sh

View file

@ -92,14 +92,19 @@ brew cask install adium
brew cask install kdiff3
brew cask install istat-menus
echo "finsihed installing"
echo "restart syncthing"
reattach-to-user-namespace brew services restart syncthing
if ! fgrep /usr/local/bin/zsh /etc/shells; then
echo "add shell"
sudo bash -c "echo /usr/local/bin/zsh >> /etc/shells"
fi
echo "cleanup"
brew cleanup
brew prune
set +e
mv "$HOME/.cargo/bin/cargo-install-update-config" "$HOME/.cargo/bin/cargo-install-update-cfg"
set -e