shithub: rgbds

Download patch

ref: 9bc6083e49a165ae93fae7293fb72688224c6f70
parent: 2b5ad9dc38f160c5f883fd7c94c60cd473eddd1a
author: Antonio Niño Díaz <[email protected]>
date: Mon Apr 10 18:10:26 EDT 2017

Add Travis CI configuration file

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- /dev/null
+++ b/.travis-deps.sh
@@ -1,0 +1,13 @@
+#!/bin/sh
+
+if [ $TRAVIS_OS_NAME = "osx" ]; then
+    brew update
+    brew install libpng pkg-config
+else # linux
+    sudo apt-get -qq update
+    sudo apt-get install -y -q bison flex libpng-dev pkg-config
+fi
+
+echo "Dependencies:"
+yacc --version
+flex --version
--- /dev/null
+++ b/.travis.yml
@@ -1,0 +1,16 @@
+language: c
+sudo: required
+install:
+  - ./.travis-deps.sh
+os:
+  - linux
+  - osx
+compiler:
+  - clang
+  - gcc
+script:
+  - make
+  - sudo make install
+after_success:
+  - pushd test/asm/ && ./test.sh && popd
+  - pushd test/link/ && ./test.sh && popd