aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rwxr-xr-xdist/travis-ci.sh31
1 files changed, 27 insertions, 4 deletions
diff --git a/dist/travis-ci.sh b/dist/travis-ci.sh
index 87b0c4612..5187e4799 100755
--- a/dist/travis-ci.sh
+++ b/dist/travis-ci.sh
@@ -4,12 +4,35 @@
# Stop in case of error
set -e
-# Build
-./configure
+CDIR=$PWD
+
+# Build mcode64
+mkdir build-mcode64
+mkdir install-mcode64
+cd build-mcode64
+../configure --prefix=$CDIR/install-mcode64
make
+make install
+cd ..
-# Test
-export GHDL=$PWD/ghdl_mcode
+# Test mcode64
+export GHDL=$CDIR/install-mcode64/bin/ghdl
cd testsuite
gnatmake get_entities
./testsuite.sh
+cd ..
+
+# build for llvm
+mkdir build-llvm
+mkdir install-llvm
+cd build-llvm
+../configure --prefix=$CDIR/install-llvm --with-llvm-config=llvm-config-3.5
+make
+make install
+cd ..
+
+# Test llvm
+export GHDL=$CDIR/install-llvm/bin/ghdl
+cd testsuite
+./testsuite.sh
+cd ..