Skip to content

Commit

Permalink
Restore TRAVIS_BUILD_DIR for AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Jan 15, 2018
1 parent 7fa7d45 commit c91e549
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis_build.sh
Expand Up @@ -4,6 +4,7 @@ set -e
source ./.travis_helpers.sh

if [[ "${APPVEYOR}" ]]; then
TRAVIS_BUILD_DIR="$(pwd)"
TRAVIS_TAG="${APPVEYOR_REPO_TAG}"
PLATFORM="windows"

Expand All @@ -29,6 +30,7 @@ if [[ "${ARCH}" == "linux32ARM"* ]]; then
export LC_CTYPE=C
export LANG=C
export LANGUAGE=C
TRAVIS_BUILD_DIR="$(pwd)"
fi

echo "$(cat platforms/Cross/vm/sqSCCSVersion.h | .git_filters/RevDateURL.smudge)" > platforms/Cross/vm/sqSCCSVersion.h
Expand Down Expand Up @@ -94,9 +96,9 @@ build_osx() {
build_windows() {
echo "Building for Windows"

[[ ! -d "${BUILD_DIRECTORY}/" ]] && exit 100
[[ ! -d "${BUILD_DIRECTORY}" ]] && exit 100

pushd "${BUILD_DIRECTORY}/"
pushd "${BUILD_DIRECTORY}"
echo "remove bochs plugins"
sed -i 's/Bochs.* //g' plugins.ext

Expand Down

0 comments on commit c91e549

Please sign in to comment.