Travis changes for Xonotic:
[xonotic/darkplaces.git] / .travis.yml
1 language: cpp
2 matrix:
3   include:
4   - os: linux
5     env: PROJECT=xonotic OS="linux32"
6     compiler: gcc
7     sudo: false
8     addons:
9       apt:
10         packages:
11           - libxpm-dev:i386
12           - libsdl1.2-dev:i386
13           - libxxf86vm-dev:i386
14           - gcc-multilib
15           - g++-multilib
16           # Workaround packages to install to fix dependency hell.
17           - libglu1-mesa-dev:i386
18           - libcaca-dev:i386
19           - libxext-dev:i386
20           - libslang2-dev:i386
21           - libpng-dev:i386
22   - os: linux
23     env: PROJECT=xonotic OS="linux64"
24     compiler: gcc
25     sudo: false
26     addons:
27       apt:
28         packages:
29           - libxpm-dev
30           - libsdl1.2-dev
31           - libxxf86vm-dev
32   - os: linux
33     env: PROJECT=xonotic OS="win32"
34     compiler: gcc
35     sudo: false
36   - os: linux
37     env: PROJECT=xonotic OS="win64"
38     compiler: gcc
39     sudo: false
40   - os: osx
41     env: PROJECT=xonotic OS="osx"
42     compiler: gcc
43 before_install:
44 - "./.travis-before_install-${PROJECT}.sh $OS"
45 install:
46 - true
47 before_script:
48 - true
49 script:
50 - "./.travis-script-${PROJECT}.sh $OS"
51 after_success:
52 - true
53 after_failure:
54 - true
55 after_script:
56 - true