diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 386ceb76..00000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/.travis/before_install.sh b/.travis/before_install.sh deleted file mode 100755 index 93e5da90..00000000 --- a/.travis/before_install.sh +++ /dev/null @@ -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 diff --git a/.travis/install.sh b/.travis/install.sh deleted file mode 100755 index f2ef5e43..00000000 --- a/.travis/install.sh +++ /dev/null @@ -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/ diff --git a/.travis/script-linux.sh b/.travis/script-linux.sh deleted file mode 100755 index c1d61b28..00000000 --- a/.travis/script-linux.sh +++ /dev/null @@ -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" diff --git a/.travis/script-macos.sh b/.travis/script-macos.sh deleted file mode 100755 index 76f1776c..00000000 --- a/.travis/script-macos.sh +++ /dev/null @@ -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 diff --git a/.travis/script-win32.sh b/.travis/script-win32.sh deleted file mode 100755 index f9b9af94..00000000 --- a/.travis/script-win32.sh +++ /dev/null @@ -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 diff --git a/.travis/script-win64.sh b/.travis/script-win64.sh deleted file mode 100755 index a49ba912..00000000 --- a/.travis/script-win64.sh +++ /dev/null @@ -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