Skip to content

Commit ca350cb

Browse files
committed
Redefine building matrix
1 parent 274a84e commit ca350cb

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

.travis.yml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,35 @@
1-
language: python
2-
python: "3.7"
1+
language: c
2+
3+
notifications:
4+
email: false
35

46
compiler:
57
- clang
68
- gcc
79

8-
notifications:
9-
email: false
10+
os:
11+
- linux
12+
- osx
1013

14+
dist: bionic
1115
addons:
1216
apt:
1317
packages:
1418
- cmake-data cmake libglu1-mesa-dev libgl1-mesa-dev
1519

1620
install:
21+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pip3 install --upgrade pip ; pip3 install conan ; fi
22+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pip install --upgrade pip ; pip install conan ; fi
1723
- conan user
1824
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
1925

20-
matrix:
21-
include:
22-
- os: linux
23-
dist: bionic
24-
before_install:
25-
- pip install --upgrade pip
26-
- pip install conan
27-
sudo: required
28-
env:
29-
- SDL2_LIB=BUNDLED
30-
- SDL2_MIXER_LIB=BUNDLED
31-
- FLUIDSYNTH_LIB=BUNDLED
32-
- BITS=64
33-
- os: osx
34-
language: shell
35-
before_install:
36-
- pip3 install --upgrade pip
37-
- pip3 install conan
38-
env:
39-
- SDL2_LIB=BUNDLED
40-
- SDL2_MIXER_LIB=BUNDLED
41-
- FLUIDSYNTH_LIB=BUNDLED
42-
- BITS=64
26+
env:
27+
- SDL2_LIB=BUNDLED SDL2_MIXER_LIB=BUNDLED FLUIDSYNTH_LIB=BUNDLED BITS=64
4328

4429
script:
4530
- mkdir build && cd build
4631
- conan install .. --build=missing
47-
- cmake .. -DCMAKE_LIBRARY_PATH=/usr/lib/i386-linux-gnu -DENABLE_SDL2=${SDL2_LIB} -DENABLE_SOUND=${SDL2_MIXER_LIB} -DENABLE_FLUIDSYNTH=${FLUIDSYNTH_LIB}
32+
- cmake .. -DENABLE_SDL2=${SDL2_LIB} -DENABLE_SOUND=${SDL2_MIXER_LIB} -DENABLE_FLUIDSYNTH=${FLUIDSYNTH_LIB}
4833
- make -j2 systemshock
4934

5035
before_deploy:

0 commit comments

Comments
 (0)