Skip to content

Commit

Permalink
Move $ARCH check into .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Oct 13, 2018
1 parent 07d1004 commit bb0b2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -50,7 +50,8 @@ install:

script:
- bash -xe travis/build.sh
- bash -xe travis/test.sh linuxdeploy-plugin-qt-"$ARCH".AppImage
# TODO: allow for cross-compiling the test projects and install i386 packages for build dependencies, then remove $ARCH check
- if [ "$ARCH" == "x86_64" ]; then bash -xe travis/test.sh linuxdeploy-plugin-qt-"$ARCH".AppImage; fi

after_success:
- ls -lh
Expand Down
5 changes: 0 additions & 5 deletions travis/test.sh
Expand Up @@ -8,11 +8,6 @@ if [ "$ARCH" == "" ]; then
exit 1
fi

if [ "$ARCH" != "x86_64" ]; then
echo 'NOTICE: $ARCH is not supported yet'
exit 0
fi

TARGET=$1
if [ "$TARGET" == "" ]; then
echo 'Error: $TARGET is not set'
Expand Down

0 comments on commit bb0b2d5

Please sign in to comment.