Docker: Switch i-Pi test to Python3

This commit is contained in:
Ole Schütt 2020-08-01 13:58:32 +02:00 committed by Ole Schütt
parent 5eff4ee254
commit 70d158756f
3 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ elif grep -q "Fedora" /etc/os-release ; then
git \
less \
nano \
python3 \
python3 \
rsync \
wget
dnf -q clean all

View file

@ -5,14 +5,14 @@
# install Ubuntu packages
apt-get update -qq
apt-get install -qq --no-install-recommends \
python \
python-pip \
python-wheel \
python-setuptools
python3 \
python3-pip \
python3-wheel \
python3-setuptools
rm -rf /var/lib/apt/lists/*
# install python packages
pip install --quiet numpy
pip3 install --quiet numpy
# clone i-pi repository
git clone --quiet --depth=1 --single-branch -b master https://github.com/i-pi/i-pi.git /opt/i-pi

View file

@ -21,7 +21,7 @@ fi
echo -e "\n========== Installing i-Pi =========="
cd /opt/i-pi
git pull --quiet
pip install --quiet .
pip3 install --quiet .
echo -e "\n========== Running i-Pi Tests =========="