~cypheon/elfelli

ref: 31551e67d440fad6e017156fb1e552c1a3143e24 elfelli/.travis.yml -rw-r--r-- 597 bytes
31551e67 — Johann Rudloff Upgrade CMake via brew in macOS Travis build. 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: cpp

os:
  - linux
  - osx

env:
  # (default) build using CMake
  - BUILDSYSTEM=cmake
  # (deprecated) build using SCons
  - BUILDSYSTEM=scons

addons:
  apt:
    packages:
      - scons
      - libgtkmm-2.4-dev
      - librsvg2-bin
      - librsvg2-dev

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gettext gtkmm librsvg scons; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade cmake; fi

before_script:
  - export PATH=$PATH:/usr/local/opt/gettext/bin/

script:
  - ./ci/build.sh