forked from EtchedPixels/FUZIX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (34 loc) · 1.17 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
matrix:
include:
- env: PLATFORM=6502test
- env: PLATFORM=msp430fr5969
- env: PLATFORM=dragon-nx32
- env: PLATFORM=trs80
before_install:
- sudo add-apt-repository ppa:david.given/ppa -y
- sudo add-apt-repository ppa:tormodvolden/m6809 -y
- sudo apt-get update -q
- sudo apt-get install libmpc2 libc6-i386 lib32stdc++6 lib32z1 libmpc2:i386
- export PATH=$PATH:/usr/local/bin:$HOME/msp430/bin
- |
if [ $PLATFORM = "6502test" ]; then
sudo apt-get install cc65
fi
- |
if [ $PLATFORM = "trs80" ]; then
sudo apt-get install sdcc
fi
- |
if [ $PLATFORM = "msp430fr5969" ]; then
wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/exports/msp430-gcc-linux-installer-3.5.0.0.run -O /tmp/msp430.installer
chmod a+rx /tmp/msp430.installer
/tmp/msp430.installer --mode unattended --prefix $HOME/msp430
rm /tmp/msp430.installer
fi
- |
if [ $PLATFORM = "dragon-nx32" ]; then
sudo apt-get install lwtools gcc6809
fi
language: c
script:
- make PLATFORM=$PLATFORM -j4