forked from EtchedPixels/FUZIX
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (37 loc) · 1.21 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
dist: trusty
sudo: required
matrix:
include:
- env: TARGET=dragon-nx32
- env: TARGET=multicomp09
- env: TARGET=rc2014
- env: TARGET=trs80
- env: TARGET=v65c816
- env: TARGET=v68
- env: TARGET=v68-banked
- env: TARGET=z80pack
before_install:
- sudo add-apt-repository -y ppa:p-pisati/fuzix
- sudo apt-get update -q
- sudo apt-get install -y byacc automake # FUZIX build deps
- sudo update-alternatives --set yacc /usr/bin/byacc
- |
if [ "$TARGET" = "dragon-nx32" -o "$TARGET" = "multicomp09" ]; then
sudo apt-get install -y lwtools gcc6809
fi
- |
if [ "$TARGET" = "rc2014" -o "$TARGET" = "trs80" -o "$TARGET" = "z80pack" ]; then
sudo apt-get install -y sdcc
fi
- |
if [ "$TARGET" = "v65c816" ]; then
sudo apt-get install -y cc65
fi
- |
if [ "$TARGET" = "v68" -o "$TARGET" = "v68-banked" ]; then
sudo apt-get install -y m68k-uclinux-binutils m68k-uclinux-elf2flt m68k-uclinux-gcc
sudo update-alternatives --install /usr/bin/elf2flt elf2flt /usr/bin/m68k-uclinux-elf2flt 100
fi
language: c
script:
- FUZIX_CCOPTS=-O0 make TARGET=$TARGET -j2