CI/CD: drop travis support

It hasn't been tried in years and has likely bit rot by now.

Change-Id: Ia3c725e94ecd544adb8899c05d66828387906625
This commit is contained in:
Max 2023-04-15 13:52:48 +03:00 committed by msuraev
parent 3092167e4e
commit 17da7b38b9
2 changed files with 0 additions and 52 deletions

View File

@ -1,25 +0,0 @@
language: c
os:
- linux
sudo: required
dist: trusty
addons:
apt:
packages:
- autoconf
- automake
- make
- gcc
- debhelper
- devscripts
- libtool
- build-essential
- pkg-config
- libtalloc-dev
- libpcsclite-dev
- libpcap-dev
- libzmq3-dev
- libgnutls28-dev
script:
- contrib/travis.sh

View File

@ -1,27 +0,0 @@
#!/usr/bin/env bash
set -ex
rm -rf deps/install
mkdir deps || true
cd deps
git clone https://gitea.osmocom.org/osmocom/libosmocore
cd libosmocore
git reset --hard 460f9ef7da1db11b104fdfe635ebcbd8a071f205
autoreconf --install --force
./configure --prefix=$PWD/../install
make -j 4 install
export LD_LIBRARY_PATH=$PWD/../install/lib
cd ../
git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-python-tests
cd osmo-python-tests
sudo ./setup.py install
cd ../../
autoreconf --install --force
PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-pcap-config=/bin/true --enable-external-tests
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make -j 4
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make check
DISTCHECK_CONFIGURE_FLAGS="--with-pcap-config=/bin/true" PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib make distcheck