From f431c062801fd51e7418228f4f38e4c89fe91c6b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Jan 2021 22:07:59 +0300 Subject: bye-bye, Travis & AppVeyor! --- .appveyor.yml | 64 ------------------------------------------------------- .travis.yml | 68 ----------------------------------------------------------- 2 files changed, 132 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 53f5e31..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,64 +0,0 @@ -version: '{build}' - -image: - - Visual Studio 2019 - - Visual Studio 2017 - -environment: - python_exe: C:\Python36-x64\python.exe - install_dir: C:\Projects\install\math-server - -platform: - - Win32 - - x64 - -configuration: - - Debug - - Release - -matrix: - fast_finish: true - - # On Win32, only build Debug to speed things up: - exclude: - - platform: Win32 - configuration: Release - -install: - - git submodule update --init --recursive - -build_script: - - cd cmake - - >- - "%python_exe%" -m project.ci.appveyor.cmake - --install "%install_dir%" - --boost "%appveyor_boost_root%" - -- - -D MATH_SERVER_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: - - '"%install_dir%\bin\math-server-unit-tests.exe"' - - '"%install_dir%\bin\math-server-benchmarks.exe"' - -for: -# Build Release on master only to speed things up: -- branches: - except: - - master - configuration: - - Debug - -- matrix: - only: - - image: Visual Studio 2017 - environment: - appveyor_boost_root: C:\Libraries\boost_1_69_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 13a5f95..0000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -language: cpp -os: linux -dist: focal - -addons: - apt: - packages: - - libboost-filesystem-dev - - libboost-program-options-dev - - libboost-regex-dev - - libboost-test-dev - -env: - jobs: - #- configuration=Debug platform=x86 - #- configuration=Release platform=x86 - - configuration=Debug platform=x64 - - configuration=Release platform=x64 - -script: - - cd cmake - - >- - python3 -m project.ci.travis.cmake - --install "$HOME/install" - -- - -D MATH_SERVER_TESTS=ON - - - "$HOME/install/bin/math-server-unit-tests" - - "$HOME/install/bin/math-server-benchmarks" - - ../test/stress_test.sh - -jobs: - fast_finish: true - - _clear: &clear - language: minimal - addons: {apt: {packages: []}} - script: [] - - _docker: &docker - <<: *clear - services: [docker] - - 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 - - - <<: *docker - name: 'Docker: build native images' - script: make docker/build - - - <<: *docker - name: 'Docker: build native images using Compose' - script: make compose/build - - - <<: *docker - stage: publish - name: 'Docker: build & publish multi-arch images' - if: branch = master - # buildx isn't installed on Focal. - before_install: make buildx/install - script: make login && make buildx/create && make buildx/push -- cgit v1.2.3