Przeglądaj źródła

Updating travis.yml script

- Excluding Cygwin and Win32 from Python check
  * Tends to fail miserably...
- Added more appveyor build info
master
Jacob Alexander 7 lat temu
rodzic
commit
5b5aef88ff
3 zmienionych plików z 4 dodań i 2 usunięć
  1. 1
    1
      .travis.yml
  2. 1
    1
      Lib/CMake/kll.cmake
  3. 2
    0
      appveyor.yml

+ 1
- 1
.travis.yml Wyświetl plik

@@ -76,7 +76,7 @@ matrix:
# Package Setup
before_install:
- 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 install Caskroom/cask/gcc-arm-embedded; fi
# This may work, but we'd have to compile llvm...

+ 1
- 1
Lib/CMake/kll.cmake Wyświetl plik

@@ -19,7 +19,7 @@ if ( "${MacroModule}" STREQUAL "PartialMap" )
# 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
set ( PYTHON_EXECUTABLE
python3

+ 2
- 0
appveyor.yml Wyświetl plik

@@ -80,7 +80,9 @@ build_script:
- '%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\" && 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\"/%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\" && git --version"'
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && python3 --version"'