Skip to content

Commit

Permalink
test other
Browse files Browse the repository at this point in the history
  • Loading branch information
AAndrisa committed Apr 15, 2024
1 parent ccee08f commit 8e20c3b
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 240 deletions.
18 changes: 4 additions & 14 deletions CI/travis/ci-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,14 @@ set -x

yum -y install yum-utils gcc
yum config-manager --set-enabled powertools

cd /opt
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
tar xzf Python-3.5.1.tgz
cd Python-3.5.1
./configure
make altinstall
cd /ci

yum -y install epel-release bzip2 gzip

yum localinstall -y /ci/build/*.rpm

python3.5 -m pip install pylibiio --no-binary :all:
python3 -m pip install pylibiio --no-binary :all:

# Build project
sudo ln -fs /usr/bin/python3.5 /usr/bin/python
python3.5 -m ensurepip
python3 -m ensurepip
mkdir -p build
cd build
cmake -DPYTHON_BINDINGS=ON -DENABLE_PACKAGING=ON ..
Expand All @@ -32,5 +22,5 @@ cd ..
cd bindings/python
pip install -r requirements_dev.txt
export LD_LIBRARY_PATH=/usr/local/lib/
python3.5 -m pip install pytest
python3.5 -m pytest -vs --skip-scan
python3 -m pip install pytest
python3 -m pytest -vs --skip-scan
Loading

0 comments on commit 8e20c3b

Please sign in to comment.