Browse Source

CI: specify meson requirement in travis file, not script

tags/2020-12-27
falkTX 4 years ago
parent
commit
442ae46cd7
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 8 additions and 7 deletions
  1. +7
    -5
      .travis.yml
  2. +1
    -2
      .travis/install.sh

+ 7
- 5
.travis.yml View File

@@ -1,32 +1,34 @@
language: cpp language: cpp


os: linux

dist: bionic

jobs: jobs:
include: include:
# linux native build # linux native build
- os: linux - os: linux
compiler: gcc compiler: gcc
dist: bionic
env: env:
- TARGET="linux" - TARGET="linux"


# linux with win32 cross-compilation # linux with win32 cross-compilation
- os: linux - os: linux
compiler: gcc compiler: gcc
dist: bionic
env: env:
- TARGET="win32" - TARGET="win32"


# linux with win64 cross-compilation # linux with win64 cross-compilation
- os: linux - os: linux
compiler: gcc compiler: gcc
dist: bionic
env: env:
- TARGET="win64" - TARGET="win64"


# macOS native build # macOS native build
- os: osx - os: osx
compiler: gcc
addons:
homebrew:
packages:
- meson
env: env:
- TARGET="macos" - TARGET="macos"




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

@@ -2,9 +2,8 @@


set -e set -e


# Special macOS native handling
# nothing to do for macOS native
if [ "${TARGET}" = "macos" ]; then if [ "${TARGET}" = "macos" ]; then
brew install meson || true
exit 0 exit 0
fi fi




Loading…
Cancel
Save