aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2dfae8f3bf87c6db90567ed00231e7304109b3e0 (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
language:
  - cpp

sudo: required

addons:
  apt:
    packages:
    - g++ make
    - 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

before_install:
  - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew update; fi"
  - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew install sdl2 sdl2_net libvorbis flac mad theora faad2 libmpeg2; fi"


branches:
 only:
   - master

compiler:
  - gcc
  - clang

os:
  - linux

dist: trusty

script:
  - ./configure --enable-all-engines --enable-opl2lpt
  - make -j 2
  - make test
  - make devtools

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