summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2015-03-28 15:06:49 +0100
committerShiz <hi@shiz.me>2015-03-28 15:12:46 +0100
commit7a23e9d0aef37c40b4d9a056ddad9ab440974c88 (patch)
tree550664fd735214c26b79af22f44b1a07baad13a4
parentf43936e3c8a56aa1f480969d5ec91b0e9196eea1 (diff)
downloadcbb-gcc-4.6.4-7a23e9d0aef37c40b4d9a056ddad9ab440974c88.tar.bz2
cbb-gcc-4.6.4-7a23e9d0aef37c40b4d9a056ddad9ab440974c88.tar.xz
Add Travis build script.
See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
-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 000000000..2f7b6b1b1
--- /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