You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2017/02/04 17:47:37 UTC
[06/11] lucy-clownfish git commit: Test ARM cross compilation under
Travis
Test ARM cross compilation under Travis
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/e65b995f
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/e65b995f
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/e65b995f
Branch: refs/heads/master
Commit: e65b995fc48020af2675d05271c547b31a434d7a
Parents: c9514ad
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Feb 4 00:46:27 2017 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Feb 4 18:13:34 2017 +0100
----------------------------------------------------------------------
.travis.yml | 6 ++++++
devel/bin/travis-test.sh | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/e65b995f/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 7bd87b7..3c150d5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,12 @@ script: devel/bin/travis-test.sh
matrix:
include:
- env: CLOWNFISH_HOST=c
+ - env: CLOWNFISH_HOST=c TARGET_CC=arm-linux-gnueabihf-gcc
+ addons:
+ apt:
+ packages:
+ - gcc-arm-linux-gnueabihf
+ - libc6-dev-armhf-cross
- env: CLOWNFISH_HOST=go
- env: CLOWNFISH_HOST=perl PERL_VERSION=5.20-extras
- env: CLOWNFISH_HOST=perl PERL_VERSION=5.18-extras
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/e65b995f/devel/bin/travis-test.sh
----------------------------------------------------------------------
diff --git a/devel/bin/travis-test.sh b/devel/bin/travis-test.sh
index a41c7e6..f96f779 100755
--- a/devel/bin/travis-test.sh
+++ b/devel/bin/travis-test.sh
@@ -27,7 +27,11 @@ test_c() {
make -j test
cd ../../runtime/c
./configure
- make -j test
+ if [ -z "$TARGET_CC" ]; then
+ make -j test
+ else
+ make -j
+ fi
}
test_perl() {