mirror of https://gerrit.osmocom.org/osmo-pcap
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:
parent
3092167e4e
commit
17da7b38b9
25
.travis.yml
25
.travis.yml
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue