Browse Source

Try enabling all CI steps

Signed-off-by: falkTX <falktx@falktx.com>
pull/292/head
falkTX 4 years ago
parent
commit
77e0bde010
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 28 additions and 6 deletions
  1. +24
    -5
      .travis.yml
  2. +1
    -1
      .travis/install.sh
  3. +3
    -0
      .travis/script-linux.sh

+ 24
- 5
.travis.yml View File

@@ -4,7 +4,6 @@ cache:
- ${HOME}/debs

jobs:
# linux native build
- name: "Linux native"
os: linux
compiler: gcc
@@ -13,13 +12,33 @@ jobs:
- TARGET="linux"
services:
- xvfb
script:
- sh ${TRAVIS_BUILD_DIR}/.travis/script-linux.sh

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

- name: "win64 cross-compilation"
os: linux
compiler: gcc
dist: bionic
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

script:
- make
- make -C tests

+ 1
- 1
.travis/install.sh View File

@@ -22,7 +22,7 @@ if [ "${TARGET}" = "win32" ]; then
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 libjack-jackd2-dev liblo-dev libx11-dev
sudo apt-get install -y libcairo2-dev libgl1-mesa-dev libglu1-mesa-dev liblo-dev libx11-dev
fi

# Special handling for caching deb archives


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

@@ -11,6 +11,9 @@ 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"


Loading…
Cancel
Save