Browse Source

Remove old travis files

Signed-off-by: falkTX <falktx@falktx.com>
pull/309/head
falkTX 3 years ago
parent
commit
edbc8e49cf
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
7 changed files with 0 additions and 171 deletions
  1. +0
    -44
      .travis.yml
  2. +0
    -18
      .travis/before_install.sh
  3. +0
    -29
      .travis/install.sh
  4. +0
    -23
      .travis/script-linux.sh
  5. +0
    -17
      .travis/script-macos.sh
  6. +0
    -20
      .travis/script-win32.sh
  7. +0
    -20
      .travis/script-win64.sh

+ 0
- 44
.travis.yml View File

@@ -1,44 +0,0 @@

cache:
directories:
- ${HOME}/debs

jobs:
- name: "Linux native"
os: linux
compiler: gcc
dist: focal
env:
- TARGET="linux"
services:
- xvfb
script:
- sh ${TRAVIS_BUILD_DIR}/.travis/script-linux.sh

#- name: "win32 cross-compilation"
#os: linux
#compiler: gcc
#dist: focal
#env:
#- TARGET="win32"
#services:
#- xvfb
#script:
#- sh ${TRAVIS_BUILD_DIR}/.travis/script-win32.sh

#- name: "win64 cross-compilation"
#os: linux
#compiler: gcc
#dist: focal
#env:
#- TARGET="win32"
#services:
#- xvfb
#script:
#- sh ${TRAVIS_BUILD_DIR}/.travis/script-win64.sh

before_install:
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh

install:
- bash ${TRAVIS_BUILD_DIR}/.travis/install.sh

+ 0
- 18
.travis/before_install.sh View File

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

set -e

# Special macOS native handling
if [ "${TARGET}" = "macos" ] || [ "${TARGET}" = "macos-universal" ]; then
exit 0
fi

if [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo dpkg --add-architecture i386
fi

sudo apt-get update -qq
sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386
sudo apt-get install -y -f

+ 0
- 29
.travis/install.sh View File

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

set -e

# Special macOS native handling
if [ "${TARGET}" = "macos" ] || [ "${TARGET}" = "macos-universal" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install cairo jack2 liblo
exit 0
fi

# Special handling for caching deb archives
if [ "$(ls ${HOME}/debs | wc -l)" -ne 0 ]; then
sudo cp ${HOME}/debs/*.deb /var/cache/apt/archives/
fi

# common
sudo apt-get install -y build-essential pkg-config

# specific
if [ "${TARGET}" = "win32" ]; then
sudo apt-get install -y binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 winehq-stable
elif [ "${TARGET}" = "win64" ]; then
sudo apt-get install -y binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 winehq-stable
else
sudo apt-get install -y libcairo2-dev libgl1-mesa-dev libglu1-mesa-dev liblo-dev libx11-dev
fi

# Special handling for caching deb archives
sudo mv /var/cache/apt/archives/*.deb ${HOME}/debs/

+ 0
- 23
.travis/script-linux.sh View File

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

set -e

# Preparation
_FLAGS="-Werror"
export CFLAGS="${_FLAGS}"
export CXXFLAGS="${_FLAGS}"

echo "==============> Normal build"
make clean >/dev/null
make

echo "==============> Run automated tests"
make -C tests run

echo "==============> No namespace build"
make clean >/dev/null
make CXXFLAGS="${_FLAGS} -DDONT_SET_USING_DISTRHO_NAMESPACE -DDONT_SET_USING_DGL_NAMESPACE"

echo "==============> Custom namespace build"
make clean >/dev/null
make CXXFLAGS="${_FLAGS} -DDISTRHO_NAMESPACE=WubbWubb -DDGL_NAMESPACE=DabDab"

+ 0
- 17
.travis/script-macos.sh View File

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

set -e

# Preparation
_FLAGS="-DDISTRHO_NO_WARNINGS -Werror"
export CFLAGS="${_FLAGS}"
export CXXFLAGS="${_FLAGS}"
export MACOS_OLD=true
export CROSS_COMPILING=true
. /usr/bin/apple-cross-setup.env

# Start clean
make clean >/dev/null

# Build now
make

+ 0
- 20
.travis/script-win32.sh View File

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

set -e

# Preparation
_FLAGS="-DPTW32_STATIC_LIB -Werror"
_PREFIX=i686-w64-mingw32
export AR=${_PREFIX}-ar
export CC=${_PREFIX}-gcc
export CXX=${_PREFIX}-g++
export CFLAGS="${_FLAGS}"
export CXXFLAGS="${_FLAGS}"
export PATH=/opt/mingw32/${_PREFIX}/bin:/opt/mingw32/bin:${PATH}
export CROSS_COMPILING=true

# Start clean
make clean >/dev/null

# Build now
make HAVE_CAIRO=false HAVE_JACK=false

+ 0
- 20
.travis/script-win64.sh View File

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

set -e

# Preparation
_FLAGS="-DPTW32_STATIC_LIB -Werror"
_PREFIX=x86_64-w64-mingw32
export AR=${_PREFIX}-ar
export CC=${_PREFIX}-gcc
export CXX=${_PREFIX}-g++
export CFLAGS="${_FLAGS}"
export CXXFLAGS="${_FLAGS}"
export PATH=/opt/mingw64/${_PREFIX}/bin:/opt/mingw64/bin:${PATH}
export CROSS_COMPILING=true

# Start clean
make clean >/dev/null

# Build now
make HAVE_CAIRO=false HAVE_JACK=false

Loading…
Cancel
Save