Skip to content

Commit

Permalink
Lets see why Travis fails
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Caelers <[email protected]>
  • Loading branch information
rcaelers committed Mar 24, 2019
1 parent 490b7ed commit 2aeed3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build/travis/build-linux.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -x

BASEDIR=$(dirname "$0")
source ${BASEDIR}/config.sh
Expand Down Expand Up @@ -28,7 +28,7 @@ conf_opt_packages()
fi
}

cd /workspace/source
cd ${SOURCES_DIR}

apt-get update -q
apt-get -y -q -V --no-install-recommends install \
Expand Down Expand Up @@ -77,3 +77,5 @@ else

cp -a workrave*tar.gz ${DEPLOY_DIR}
fi

ls -la ${DEPLOY_DIR}
3 changes: 2 additions & 1 deletion build/travis/config.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
if [ -d /workspace ]; then
echo "Running in Docker env."
ROOT_DIR=/workspace
SOURCES_DIR=${ROOT_DIR}/source

ISCC=${ROOT_DIR}/inno/app/ISCC.exe
else
echo "Running in Travis env."
SOURCES_DIR=${TRAVIS_BUILD_DIR}
fi

Expand All @@ -15,4 +17,3 @@ MINGW_ENV=${SOURCES_DIR}/build/travis/mingw-env

export DEBFULLNAME="Rob Caelers"
export DEBEMAIL="[email protected]"

0 comments on commit 2aeed3e

Please sign in to comment.