From 33998e3ce3ef0df491b0e12b089fac56c759ccd5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 24 Jan 2021 04:37:03 +0300 Subject: bye-bye, Travis & AppVeyor! --- .appveyor.yml | 113 ---------------------------------------------------------- .travis.yml | 47 ------------------------ 2 files changed, 160 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 2e6b342..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,113 +0,0 @@ -version: '{build}' - -image: - - Visual Studio 2019 - - Visual Studio 2013 - - Visual Studio 2015 - - Visual Studio 2017 - -environment: - python_exe: C:\Python36-x64\python.exe - install_dir: C:\Projects\install\winapi-common - test_logs_dir: C:\Projects\test_logs - -platform: - - Win32 - - x64 - -configuration: - - Debug - - RelWithDebInfo - -matrix: - fast_finish: true - - # On Win32, only build Debug to speed things up: - exclude: - - platform: Win32 - configuration: RelWithDebInfo - -install: - - git submodule update --init --recursive - -before_build: - - '"%python_exe%" cmake\tools\clang-format.py' - -build_script: - - cd cmake - - >- - "%python_exe%" -m project.ci.appveyor.cmake - --install "%install_dir%" - --boost "%appveyor_boost_root%" - -- -D WINAPI_COMMON_TESTS=ON - -after_build: - - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" - - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" - -test_script: - - mkdir "%test_logs_dir%" - - >- - "%install_dir%\bin\winapi-common-unit-tests.exe" - --log_level=all - "--log_sink=%test_logs_dir%\tests.log" - "--report_sink=%test_logs_dir%\report.txt" - --run_test=!console_tests,process_console_tests - -- - "--echo_exe=%install_dir%\bin\winapi-common-test-echo.exe" - "--worker_exe=%install_dir%\bin\winapi-common-test-worker.exe" - - type "%test_logs_dir%\report.txt" - - >- - start "Console tests" /wait - "%install_dir%\bin\winapi-common-unit-tests.exe" - --log_level=all - "--log_sink=%test_logs_dir%\tests_console.log" - "--report_sink=%test_logs_dir%\report_console.txt" - --run_test=console_tests,process_console_tests - -- - "--echo_exe=%install_dir%\bin\winapi-common-test-echo.exe" - "--worker_exe=%install_dir%\bin\winapi-common-test-worker.exe" - - type "%test_logs_dir%\report_console.txt" - -on_finish: - - 7z.exe a test_logs.zip "%test_logs_dir%" - - appveyor.exe PushArtifact test_logs.zip - -for: -# Build Release on master only to speed things up: -- branches: - except: - - master - configuration: - - Debug - -- matrix: - only: - - image: Visual Studio 2013 - environment: - # First release of Boost.Test v3. - boost_version: 1.59.0 - build_script: - - cd cmake - - '"%python_exe%" -m project.ci.appveyor.boost -- --with-test' - - >- - "%python_exe%" -m project.ci.appveyor.cmake - --install "%install_dir%" - --boost C:\projects\boost - -- -D WINAPI_COMMON_TESTS=ON - -- matrix: - only: - - image: Visual Studio 2015 - environment: - appveyor_boost_root: C:\Libraries\boost_1_63_0 -- matrix: - only: - - image: Visual Studio 2017 - environment: - appveyor_boost_root: C:\Libraries\boost_1_67_0 -- matrix: - only: - - image: Visual Studio 2019 - environment: - appveyor_boost_root: C:\Libraries\boost_1_71_0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a284e0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,47 +0,0 @@ -# Linux builds are only to make sure the project can be built w/ MinGW-w64 & -# GCC. - -language: cpp -os: linux -dist: focal - -env: - global: - boost_version: 1.65.0 - jobs: - # Building only Debug is fine, it's not going anywhere anyway: - - configuration=Debug platform=x86 - - configuration=Debug platform=x64 - #- configuration=Release platform=x86 - #- configuration=Release platform=x64 - -before_script: - - cd cmake - - >- - python3 -m project.ci.travis.boost - --mingw - -- - --with-test - -script: >- - python3 -m project.ci.travis.cmake - --install "$HOME/install" - --mingw - -jobs: - fast_finish: true - - _clear: &clear - language: minimal - before_script: [] - script: [] - - include: - - <<: *clear - name: Run clang-format - if: branch = master - addons: - apt: - packages: - - clang-format-9 - script: ./cmake/tools/clang-format.py --clang-format clang-format-9 -- cgit v1.2.3