aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7206921a9e8c9691e8edeb328304f4fa73d0dfed (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
language:
  - cpp

sudo: required

addons:
  apt:
    packages:
    - g++ make
    - ccache
    - libsdl2-dev
    - libsdl2-net-dev
    - libcurl4-openssl-dev
    - libjpeg-turbo8-dev
    - libmpeg2-4-dev
    - libogg-dev
    - libvorbis-dev
    - libflac-dev
    - libmad0-dev
    - libpng-dev
    - libtheora-dev
    - libfaad-dev
    - libfluidsynth-dev
    - libfreetype6-dev
    - zlib1g-dev
    - libieee1284-3-dev
    - libsndio-dev
    - libunity-dev
  homebrew:
    packages:
    - ccache
    - sdl2
    - sdl2_net
    - curl
    - jpeg-turbo
    - libmpeg2
    - a52dec
    - libogg
    - libvorbis
    - flac
    - mad
    - libpng
    - theora
    - faad2
    - fluid-synth
    - freetype
    - zlib
    - pandoc
    - jack
    update: true

branches:
 only:
   - master

matrix:
  include:
    - os: linux
      compiler: gcc
      cache: ccache
    - os: linux
      compiler: clang
      cache: ccache
      before_script:
        - sudo ln -s $(which ccache) /usr/lib/ccache/clang
        - sudo ln -s $(which ccache) /usr/lib/ccache/clang++
    - os: osx
      compiler: clang
      cache:
        directories:
          - $HOME/Library/Caches/Homebrew
      before_cache:
        - brew cleanup

dist: xenial

script:
  - export PATH="/usr/local/opt/ccache/libexec:/usr/lib/ccache:$PATH"
  - ./configure --enable-all-engines --enable-opl2lpt --enable-verbose-build
  - make -j 2
  - make test
  - make devtools

notifications:
  irc:
    channels:
      - "chat.freenode.net#scummvm"
    on_success: change
    on_failure: always