diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-18 22:07:59 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-18 22:07:59 +0300 |
commit | f431c062801fd51e7418228f4f38e4c89fe91c6b (patch) | |
tree | 7df2b698c6e03403c559ce218d7a65233a90bf11 | |
parent | cmake: files are per-directory, not per-extension (diff) | |
download | math-server-no_more_travis.tar.gz math-server-no_more_travis.zip |
bye-bye, Travis & AppVeyor!no_more_travis
-rw-r--r-- | .appveyor.yml | 64 | ||||
-rw-r--r-- | .travis.yml | 68 |
2 files changed, 0 insertions, 132 deletions
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 |