Skip to content

Commit

Permalink
Merge pull request contiki-os#443 from g-oikonomou/6502-travis
Browse files Browse the repository at this point in the history
Add 6502 tests to travis
  • Loading branch information
oliverschmidt committed Nov 20, 2013
2 parents 0e24fb0 + 820e50f commit 38e8d8b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ before_script:
https://raw.github.com/wiki/g-oikonomou/contiki-sensinode/files/sdcc.tar.gz \
| tar xzf - -C /tmp/ && sudo cp -f -r /tmp/sdcc/* /usr/local/ && rm -rf /tmp/sdcc && sdcc --version || true"
- "[ ${BUILD_ARCH:-0} = 8051 ] && sudo apt-get -qq install srecord || true"

## Clone and build cc65 when testing 6502 ports
- "[ ${BUILD_ARCH:-0} = 6502 ] && git clone \
https://github.com/oliverschmidt/cc65 /tmp/cc65 && \
make -C /tmp/cc65 && sudo make -C /tmp/cc65 avail && \
export CC65_HOME=/tmp/cc65/ && cc65 --version || true"

## Compile cooja.jar only when it's going to be needed
- "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar || true"
Expand Down Expand Up @@ -62,3 +68,4 @@ env:
- BUILD_TYPE='ipv6-apps'
- BUILD_TYPE='compile-8051-ports' BUILD_CATEGORY='compile' BUILD_ARCH='8051'
- BUILD_TYPE='compile-arm-ports' BUILD_CATEGORY='compile' BUILD_ARCH='arm'
- BUILD_TYPE='compile-6502-ports' BUILD_CATEGORY='compile' BUILD_ARCH='6502'
36 changes: 36 additions & 0 deletions regression-tests/16-compile-6502-ports/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
EXAMPLESDIR=../../examples
TOOLSDIR=../../tools

EXAMPLES = \
email/c64 \
email/c128 \
email/atarixl \
email/apple2enh \
ftp/c64 \
ftp/c128 \
ftp/atarixl \
ftp/apple2enh \
irc/c64 \
irc/c128 \
irc/atarixl \
irc/apple2enh \
telnet-server/c64 \
telnet-server/c128 \
telnet-server/atarixl \
telnet-server/apple2enh \
webbrowser/c64 \
webbrowser/c128 \
webbrowser/atarixl \
webbrowser/apple2enh \
webserver/c64 \
webserver/c128 \
webserver/atarixl \
webserver/apple2enh \
wget/c64 \
wget/c128 \
wget/atarixl \
wget/apple2enh \

TOOLS=

include ../Makefile.compile-test

0 comments on commit 38e8d8b

Please sign in to comment.