summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..2f7b6b1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+language: c
+
+env:
+ global:
+ - MAKEFLAGS=-s
+ matrix:
+ - TARGET=i686-nt32-midipix ARCH=nt32
+ - TARGET=x86_64-nt64-midipix ARCH=nt64
+
+before_install:
+ - sudo apt-get install libgmp-dev libmpfr-dev libmpc-dev
+ - git clone git://midipix.org/cbb/cbb-gcc ../cbb-gcc
+
+before_script:
+ - export WORKDIR=$(mktemp -d)
+ - export PREFIX=$(mktemp -d)
+ - ln -sf "$TRAVIS_BUILD_DIR" "$WORKDIR/$(echo "$TRAVIS_REPO_SLUG" | cut -f2 -d/)"
+script:
+ - ../cbb-gcc/cbb-midipix.sh