attempts and fixing travis build for nRF52

This commit is contained in:
Gordon Williams 2019-06-17 11:01:23 +01:00
parent a6af09d19e
commit 071e52b374

View File

@ -131,10 +131,13 @@ fi
#--------------------------------------------------------------------------------
if [ "$PROVISION_NRF52" = "1" ]; then
echo ===== NRF52
if ! type pip 2> /dev/null > /dev/null; then
echo Installing python and pip
sudo DEBIAN_FRONTEND=noninteractive apt-get install -qq -y python python-pip
fi
if ! type nrfutil 2> /dev/null > /dev/null; then
echo Installing nrfutil
sudo DEBIAN_FRONTEND=noninteractive apt-get install -qq -y python python-pip
sudo pip -q install nrfutil
sudo pip install nrfutil
fi
ARM=1
fi