Browse Source

Remove unused travis ci integration

.{ci/*,travis.yml}:
Remove unused travis-ci integration.
tags/v1.9.20
David Runge falkTX <falktx@falktx.com> 3 years ago
parent
commit
ef2a0d3b79
3 changed files with 0 additions and 299 deletions
  1. +0
    -101
      .ci/install-deps.sh
  2. +0
    -40
      .ci/test_run.sh
  3. +0
    -158
      .travis.yml

+ 0
- 101
.ci/install-deps.sh View File

@@ -1,101 +0,0 @@
#!/usr/bin/env bash

set -euo pipefail

if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew install \
pkg-config \
aften \
libsamplerate \
libsndfile \
opus \
readline \
doxygen
# force installation of gcc-6 if required
if [ "${CC}" == "gcc-6" ]; then
brew install gcc@6
fi
# force installation of gcc-7 if required
if [ "${CC}" == "gcc-7" ]; then
brew install gcc@7
fi
# force installation of gcc-8 if required
if [ "${CC}" == "gcc-8" ]; then
brew install gcc@8
fi
# force installation of gcc-9 if required
if [ "${CC}" == "gcc-9" ]; then
brew install gcc@9
fi
fi

if [ "$TRAVIS_OS_NAME" == "linux" ]; then
# autotools, automake, make are present in the trusty image
sudo apt-get install -y \
doxygen \
libffado-dev \
libsamplerate-dev \
libsndfile-dev \
libasound2-dev \
libdb-dev \
systemd \
libsystemd-dev \
libpam-systemd \
libdbus-1-dev \
libeigen3-dev \
libopus-dev \
portaudio19-dev \
locate

# remove everything that jack will provide
# (it can not be a dependency for the build)
# these files were dragged in by the above apt-get install of dependency packages
sudo rm -rf /usr/lib/x86_64-linux-gnu/libjack*
sudo rm -rf /usr/include/jack*
sudo rm -rf /usr/share/doc/libjack*
sudo rm -rf /var/lib/dpkg/info/libjack*
sudo rm -rf /usr/lib/x86_64-linux-gnu/pkgconfig/jack.pc
# when these files aren't deleted: jackd will behave strange after install.
# one symptom: unknown option character l

sudo updatedb
echo "found these files with 'jack' in name after installing dependencies and clean up:"
echo "========================================================================="
locate jack | grep -v /home/travis/build
echo "========================================================================="

# force installation of gcc-6 if required
if [ "${CC}" == "gcc-6" ]; then
sudo apt-get install gcc-6 g++-6
fi
# force installation of gcc-7 if required
if [ "${CC}" == "gcc-7" ]; then
sudo apt-get install gcc-7 g++-7
fi
# force installation of gcc-8 if required
if [ "${CC}" == "gcc-8" ]; then
sudo apt-get install gcc-8 g++-8
fi
# force installation of gcc-9 if required
if [ "${CC}" == "gcc-9" ]; then
sudo apt-get install gcc-9 g++-9
fi
# force installation of clang-3.5 if required
if [ "${CC}" == "clang-3.5" ]; then
sudo apt-get install clang-3.5
fi
# force installation of clang-3.8 if required
if [ "${CC}" == "clang-3.8" ]; then
sudo apt-get install clang-3.8
fi
# force installation of clang-6.0 if required
if [ "${CC}" == "clang-6.0" ]; then
sudo apt-get install clang-6.0
fi
# force installation of clang-8 if required
if [ "${CC}" == "clang-8" ]; then
sudo apt-get install clang-8
fi
fi

exit 0

+ 0
- 40
.ci/test_run.sh View File

@@ -1,40 +0,0 @@
#!/bin/bash

echo "`date`"
echo "$TRAVIS_OS_NAME"
echo "========================================================================="
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
#stop here if ./waf install wasn't successful
ls -l /usr/bin/jackd || exit
#find installed files
sudo updatedb
locate jack | grep -e "/usr/bin" -e "/usr/lib" -e "/usr/share/man" -e "/usr/include"
#show man pages
locate jack | grep /usr/share/man | grep "\.1" | while read line; do
man -P cat "$line"; done
#check for unused dependencies
ls -1 /usr/bin/jack_*|while read line; do
echo "checking unused dependencies for ${line}:"; ldd -r -u "$line"; done
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
#stop here if ./waf install wasn't successful
ls -l /usr/local/bin/jackd || exit
fi
echo "========================================================================="
jackd --version
echo "========================================================================="
sudo jackd -ddummy &
ret=$!
sleep 10
echo "========================================================================="
sudo jack_lsp
echo "========================================================================="
sudo jack_bufsize
echo "========================================================================="
sudo jack_test #--verbose
echo "========================================================================="
echo "stopping jackd now"
sudo kill -9 $ret
echo "========================================================================="
echo "`date`"
echo "done"
#EOF

+ 0
- 158
.travis.yml View File

@@ -1,158 +0,0 @@
language:
- cpp
sudo: required

matrix:
include:
# linux with gcc 9
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- gcc-9
dist: bionic
env:
- MATRIX_EVAL="CC=gcc-9 CXX=g++-9"
compiler: gcc
# linux with gcc 8
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- gcc-8
dist: bionic
env:
- MATRIX_EVAL="CC=gcc-8 CXX=g++-8"
compiler: gcc
# linux with gcc 7
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- gcc-7
dist: bionic
env:
- MATRIX_EVAL="CC=gcc-7 CXX=g++-7"
compiler: gcc
# linux with gcc 6
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- gcc-6
dist: bionic
env:
- MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
compiler: gcc
# linux with gcc 5
- os: linux
dist: bionic
env:
- MATRIX_EVAL="CC=gcc CXX=g++"
compiler: gcc
# linux with gcc 4
- os: linux
dist: xenial
env:
- MATRIX_EVAL="CC=gcc CXX=g++"
compiler: gcc
# linux with clang 8
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- clang-8
dist: bionic
env:
- MATRIX_EVAL="CC=clang-8 CXX=clang++-8"
compiler: clang
# linux with clang 6
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- clang-6.0
dist: bionic
env:
- MATRIX_EVAL="CC=clang-6.0 CXX=clang++-6.0"
compiler: clang
# linux with clang 3.8
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- clang-3.8
dist: xenial
env:
- MATRIX_EVAL="CC=clang-3.8 CXX=clang++-3.8"
compiler: clang
## osx with xcode8.3/clang
#- os: osx
#osx_image: xcode8.3
#compiler: clang
## osx with xcode9.2/clang
#- os: osx
#osx_image: xcode9.2
#compiler: clang
## osx with xcode10.0/clang
#- os: osx
#osx_image: xcode10
#compiler: clang
## osx with xcode10.1/clang
#- os: osx
#osx_image: xcode10.1
#compiler: clang
## osx with xcode/clang (default)
#- os: osx
#compiler: clang

before_install:
- eval "${MATRIX_EVAL}"
# uninstalling oclint, as it's preinstalled and conflicts with all versions of gcc
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew cask uninstall oclint || true;
brew update;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi

install:
- ./.ci/install-deps.sh

before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig; fi

script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
./waf configure --prefix=/usr --alsa --classic --dbus --systemd-unit;
./waf -v build;
sudo ./waf -v install;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" python2 ./waf configure;
CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" python2 ./waf -v build;
sudo python2 ./waf -v install;
fi
# run very basic tests
- sudo .ci/test_run.sh

branches:
only:
- /.*/

notifications:
email: false
# vim:set ts=2 sw=2 et:

Loading…
Cancel
Save