- Excluding Cygwin and Win32 from Python check * Tends to fail miserably... - Added more appveyor build infomaster
# Package Setup | # Package Setup | ||||
before_install: | before_install: | ||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | ||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install git python3 ctags dfu-util tree; fi | |||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3 ctags dfu-util tree; fi | |||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew tap Caskroom/cask; fi | - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew tap Caskroom/cask; fi | ||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install Caskroom/cask/gcc-arm-embedded; fi | - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install Caskroom/cask/gcc-arm-embedded; fi | ||||
# This may work, but we'd have to compile llvm... | # This may work, but we'd have to compile llvm... |
# Check disabled for Win32 as it can't detect version correctly (we don't use Python directly through CMake anyways) | # Check disabled for Win32 as it can't detect version correctly (we don't use Python directly through CMake anyways) | ||||
# | # | ||||
if ( NOT WIN32 ) | |||||
if ( NOT CMAKE_HOST_WIN32 ) | |||||
# Required on systems where python is 2, not 3 | # Required on systems where python is 2, not 3 | ||||
set ( PYTHON_EXECUTABLE | set ( PYTHON_EXECUTABLE | ||||
python3 | python3 |
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && 7z x -o/ /cygdrive/c/gcc-arm-none-eabi.zip"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && 7z x -o/ /cygdrive/c/gcc-arm-none-eabi.zip"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && pwd"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && pwd"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && tree"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && tree"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && which cmake"' | |||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && cmake --version"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && cmake --version"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\"/%SCRIPT_DIR% && export wincmake_path=\"%WIN_CMAKE%\" && export PATH=\"${wincmake_path}\":$PATH && which cmake"' | |||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\"/%SCRIPT_DIR% && export wincmake_path=\"%WIN_CMAKE%\" && export PATH=\"${wincmake_path}\":$PATH && cmake --version"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\"/%SCRIPT_DIR% && export wincmake_path=\"%WIN_CMAKE%\" && export PATH=\"${wincmake_path}\":$PATH && cmake --version"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && git --version"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && git --version"' | ||||
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && python3 --version"' | - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && python3 --version"' |