Skip to content

Commit

Permalink
tttt
Browse files Browse the repository at this point in the history
  • Loading branch information
AAndrisa committed Apr 15, 2024
1 parent 5be7227 commit ae31656
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CI/travis/ci-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@ handle_centos() {
yum config-manager --set-enabled powertools
yum localinstall -y $package
export CMAKE_OPTIONS="-DPYTHON_BINDINGS=ON -DENABLE_PACKAGING=ON .."

export LD_LIBRARY_PATH=/usr/local/lib64/
}

handle_default() {
local package=$1
DEBIAN_FRONTEND=noninteractive apt-get install -y rpm
sudo dpkg -i $package
export CMAKE_OPTIONS="-DPYTHON_BINDINGS=ON -DENABLE_PACKAGING=ON -DDEB_DETECT_DEPENDENCIES=ON .."
export LD_LIBRARY_PATH=/usr/local/lib/
}

handle_opensuse() {
local package=$1
zypper in -y --allow-unsigned-rpm $package
export CMAKE_OPTIONS="-DPYTHON_BINDINGS=ON -DENABLE_PACKAGING=ON .."
export LD_LIBRARY_PATH=/usr/local/lib/
}

handle_"$1" "$2"
Expand All @@ -37,6 +39,5 @@ ldconfig
cd ..
cd bindings/python
pip install -r requirements_dev.txt
export LD_LIBRARY_PATH=/usr/local/lib/
python3 -m pip install pytest
python3 -m pytest -vs --skip-scan
python3 -m pytest -vs --skip-scan

0 comments on commit ae31656

Please sign in to comment.