Skip to content
Permalink
Browse files

test, bugfix: fix the qemu test env (#493)

  • Loading branch information...
ngot authored and xicilion committed Apr 25, 2019
1 parent 0c5fb36 commit 0a97c2cc07abba7fa3a227bef7bdc01c1c4d16e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis/test.sh
@@ -16,12 +16,12 @@ if [[ $TRAVIS_OS_NAME == 'linux' ]]; then

if [[ $ARCH == "arm" ]]; then
# Test on arm using qemu
DIR=`pwd`;sudo docker run -it -v ${DIR}:/home/ci fibjs/fibjs-test-env:latest /bin/sh -c "qemu-arm ./bin/Linux_arm_release/fibjs --prof test/main.js"
DIR=`pwd`;sudo docker run -it -v ${DIR}:/home/ci fibjs/build-env:clang /bin/sh -c "cd /home/ci; qemu-arm ./bin/Linux_arm_release/fibjs --prof test/main.js"
fi

if [[ $ARCH == "arm64" ]]; then
# Test on arm64 using qemu
DIR=`pwd`;sudo docker run -it -v ${DIR}:/home/ci fibjs/fibjs-test-env:latest /bin/sh -c "qemu-aarch64 ./bin/Linux_arm64_release/fibjs --prof test/main.js"
DIR=`pwd`;sudo docker run -it -v ${DIR}:/home/ci fibjs/build-env:clang /bin/sh -c "cd /home/ci; qemu-aarch64 ./bin/Linux_arm64_release/fibjs --prof test/main.js"
fi
else # darwin
if [[ $ARCH == "amd64" ]]; then

0 comments on commit 0a97c2c

Please sign in to comment.
You can’t perform that action at this time.