-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
69 lines (66 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: cpp
addons:
homebrew:
packages:
- sdl
# Do not build branches of the form "pr/*". By prefixing pull requests coming
# from branches inside the repository with pr/, this avoids building both the
# branch push _and_ the pull request.
# Based on https://github.com/boostorg/hana/blob/master/.travis.yml
branches:
except: /pr\/.*/
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: BADGE=linux-basiliskii
addons:
apt:
packages:
- libsdl1.2-dev
- libgtk2.0-dev
script:
- cd BasiliskII/src/Unix
- NO_CONFIGURE=1 ./autogen.sh
- ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon
- make
- os: osx
env: BADGE=osx-basiliskii
script:
- gem install xcpretty-travis-formatter
- wget http://www.libsdl.org/release/SDL2-2.0.9.dmg
- sudo hdiutil attach SDL2-2.0.9.dmg
- sudo cp -r /Volumes/SDL2/SDL2.framework /Library/Frameworks/
- cd BasiliskII/src/MacOSX
- xcodebuild -scheme BasiliskII -configuration Release build CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -f `xcpretty-travis-formatter` | grep -v -e '^[[:space:]]*$' | grep -v '^ ' && test ${PIPESTATUS[0]} -eq 0
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: BADGE=linux-sheepshaver
addons:
apt:
packages:
- libsdl1.2-dev
- libgtk2.0-dev
script:
- cd SheepShaver
- make links
- cd src/Unix
- NO_CONFIGURE=1 ./autogen.sh
- ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --disable-jit-compiler --with-x --with-gtk --with-mon
- make
- os: osx
env: BADGE=osx-sheepshaver
script:
- gem install xcpretty-travis-formatter
- wget http://www.libsdl.org/release/SDL2-2.0.9.dmg
- sudo hdiutil attach SDL2-2.0.9.dmg
- sudo cp -r /Volumes/SDL2/SDL2.framework /Library/Frameworks/
- cd SheepShaver
- make links
- cd src/MacOSX
- xcodebuild -scheme kpx_cpu -configuration Release build CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -f `xcpretty-travis-formatter` | grep -v -e '^[[:space:]]*$' | grep -v '^ ' && test ${PIPESTATUS[0]} -eq 0
- xcodebuild -scheme SheepShaver -configuration Release build CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -f `xcpretty-travis-formatter` && exit ${PIPESTATUS[0]}