-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
51 lines (48 loc) · 1.56 KB
/
.travis.yml
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
language: c
sudo: true
compiler: clang
matrix:
include:
# OSX #######################################################
- os: osx
ruby: 2.3
osx_image: xcode10.2
before_install:
- brew update && ( brew install sdl2 autoconf automake libtool || brew upgrade sdl2 autoconf automake libtool || echo "Trying without update" )
# GNU/Linux tests #############################################
- os: linux
dist: xenial
python: "3.6"
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
packages:
- libsdl2-dev
before_install:
# - sudo add-apt-repository -y ppa:team-xbmc/ppa
# - sudo apt-get update -qq
# - sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev
- sudo apt-get install -y libsdl2-dev
# - sudo apt-get install -y python3-pip python3-setuptools
# - sudo pip3 install -U pip
# - sudo pip3 install meson ninja
- os: linux
dist: xenial
python: "3.6"
compiler: gcc
before_install:
# - sudo add-apt-repository -y ppa:team-xbmc/ppa
# - sudo apt-get update -qq
# - sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev
- sudo apt-get install -y libsdl2-dev
# - sudo apt-get install -y python3-pip python3-setuptools
# - sudo pip3 install --upgrade pip
# - sudo pip3 install meson ninja
script:
- make -f Makefile.autotools
- ./configure
- make && sudo make install
# - meson build
# - ninja -C build
# - cd build && sudo meson install