From 88e965a2ba18712f2775ae3f806e3f67f4a24f9b Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 27 Feb 2019 08:15:21 +0100
Subject: [PATCH] [doc][macos] Add update-ci.sh for brew/pip3 updates

---
 doc/macos-ci-install/update-ci.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 doc/macos-ci-install/update-ci.sh

diff --git a/doc/macos-ci-install/update-ci.sh b/doc/macos-ci-install/update-ci.sh
new file mode 100644
index 00000000..4ec82275
--- /dev/null
+++ b/doc/macos-ci-install/update-ci.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+# Update CI installation
+echo "Updating homebrew..."
+brew update
+brew upgrade
+brew cleanup
+
+echo "Updating python packages..."
+pip=/usr/local/bin/pip3
+${pip} list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 ${pip} install -U
-- 
GitLab