From f9d53eec744af4c847ade3f910c0506a454038f5 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Fri, 13 Mar 2020 03:30:18 -0700 Subject: [PATCH] [Travis] Cleanup Remove git-depth 1 and submodules. Submodules are fetched by default, and git-depth 1 has caused problems with AppVeyor in the past. Remove unneeded addition to PATH, braces, and commented stuff. Releases shouldn't be done with Travis since it uses VS2017. --- .travis.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1fadc7b08..60ac30959 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,5 @@ language: cpp -git: - submodules: true - depth: 1 - matrix: include: - os: windows @@ -13,7 +9,6 @@ matrix: before_script: - if [ $TRAVIS_OS_NAME == 'windows' ]; then - export PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin":$PATH; mkdir build; cd build; cmake .. -G "Visual Studio 15 2017" -A Win32; @@ -21,27 +16,5 @@ before_script: script: - if [ $TRAVIS_OS_NAME == 'windows' ]; then - cmake --build . --config ${configuration}; + cmake --build . --config $configuration; fi - -# Bug with the Windows builder requires us to not filter secrets -#filter_secrets: false - -#before_deploy: -# - mkdir export -# - 7z u export/${configuration} COPYING README.md -# - cd build/win32/${configuration} -# - 7z u ../../../export/${configuration} Cxbx.exe glew32.dll subhook.dll SDL2.dll -# - 7z u ../../../export/${configuration} CxbxDebugger.exe capstone.dll cs_x86.dll -# - cd ../../../ - -#deploy: -# provider: releases -# api_key: $GH_TOKEN -# file: "export/${configuration}.7z" -# skip_cleanup: true -# on: -# # Can disable this to deploy all builds appears as "untagged-buildhash" on GH -# tags: true -# branch: develop -# condition: $configuration = Release