1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/bash
echo "hello from before_install"
if [[ "$TRAVIS_OS_NAME" = "windows" ]] ; then
export PATH="c:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\Bin\\":$PATH
pushd distorm\\make\\win32\\
MSBuild.exe cdistorm.vcxproj /property:Configuration="clib";Platform="x64"
popd
fi
if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
export DISTORM_MODE=DISTORM_STATIC
pushd distorm/make/mac
make
popd
fi
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
pushd distorm/make/linux
make
popd
fi
|