From 60b0562311ea13b2c5956b1a7dc37015e9c38c9b Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 30 Mar 2021 08:33:45 +0200 Subject: [PATCH] Update CI information --- .travis.yml | 68 ---------------------------------------------------- README.md | 4 +--- appveyor.yml | 54 ----------------------------------------- codecov.yml | 3 --- 4 files changed, 1 insertion(+), 128 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml delete mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2c531eb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ -sudo: false - -os: -- linux -- osx - -language: d - -d: -- dmd-2.091.1 - -env: - global: - - LATEST=2.091.1 - - matrix: - - ARCH=x86_64 - - ARCH=x86 - -matrix: - include: - - name: D-Scanner - d: dmd-$LATEST - env: DSCANNER=0.7.0 - os: linux - - name: DDoc - d: dmd-$LATEST - env: DDOC=true - os: linux - -addons: - apt: - packages: - - gcc-multilib - -before_script: -- if [ "`$DC --version | head -n 1 | grep v$LATEST`" ] && - [ -z "$DSCANNER$DDOC" ]; then - export UNITTEST="unittest-cov"; - fi - -script: -- set -e; - if [ -n "$DDOC" ]; then - dub build :meta -b ddox --compiler=$DC; - dub build :sys -b ddox --compiler=$DC; - dub build :os -b ddox --compiler=$DC; - dub build :encoding -b ddox --compiler=$DC; - dub build :middle -b ddox --compiler=$DC; - dub build :test -b ddox --compiler=$DC; - dub build -b ddox --compiler=$DC; - elif [ -z "$DSCANNER" ]; then - dub test :meta -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test :sys -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test :os -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test :encoding -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test :middle -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test :test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; - else - dub fetch dscanner --version=$DSCANNER; - - FILES=$(find */tanya -type f); - dub run dscanner -- --styleCheck $FILES; - fi - -after_success: -- test "$UNITTEST" && bash <(curl -s https://codecov.io/bash) || true diff --git a/README.md b/README.md index 32e9b19..f211363 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # Tanya -[![Build Status](https://travis-ci.com/caraus-ecms/tanya.svg?branch=master)](https://travis-ci.com/caraus-ecms/tanya) -[![Build status](https://ci.appveyor.com/api/projects/status/djkmverdfsylc7ti/branch/master?svg=true)](https://ci.appveyor.com/project/belka-ew/tanya/branch/master) -[![codecov](https://codecov.io/gh/caraus-ecms/tanya/branch/master/graph/badge.svg)](https://codecov.io/gh/caraus-ecms/tanya) +[![CI/CD](https://img.shields.io/badge/CI-CD-brightgreen)](https://build.caraus.tech/go/pipelines) [![Dub version](https://img.shields.io/dub/v/tanya.svg)](https://code.dlang.org/packages/tanya) [![Dub downloads](https://img.shields.io/dub/dt/tanya.svg)](https://code.dlang.org/packages/tanya) [![License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://raw.githubusercontent.com/caraus-ecms/tanya/master/LICENSE) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index ae78c3e..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,54 +0,0 @@ -platform: x64 -os: Visual Studio 2015 - -environment: - matrix: - - DC: dmd - DVersion: 2.091.1 - arch: x64 - - DC: dmd - DVersion: 2.091.1 - arch: x86 - -skip_tags: true - -install: - - ps: function SetUpDCompiler - { - $env:toolchain = "msvc"; - $version = $env:DVersion; - Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z"; - echo "finished."; - pushd c:\\; - 7z x dmd.7z > $null; - popd; - } - - ps: SetUpDCompiler - -before_build: - - ps: if($env:arch -eq "x86"){ - $env:compilersetupargs = "x86"; - $env:Darch = "x86_mscoff"; - } - elseif($env:arch -eq "x64"){ - $env:compilersetupargs = "amd64"; - $env:Darch = "x86_64"; - } - - ps: $env:PATH += ";C:\dmd2\windows\bin;"; - - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall" %compilersetupargs% - -build_script: - - echo dummy build script - dont remove me - -test_script: - - echo %Darch% - - echo %PATH% - - 'dub --version' - - '%DC% --version' - - dub test :meta -b unittest --arch=%Darch% --compiler=%DC% - - dub test :sys -b unittest --arch=%Darch% --compiler=%DC% - - dub test :os -b unittest --arch=%Darch% --compiler=%DC% - - dub test :encoding -b unittest --arch=%Darch% --compiler=%DC% - - dub test :middle -b unittest --arch=%Darch% --compiler=%DC% - - dub test :test -b unittest --arch=%Darch% --compiler=%DC% - - dub test -b unittest --arch=%Darch% --compiler=%DC% diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index f8b297d..0000000 --- a/codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -ignore: - - "source/tanya/async/event/iocp.d" - - "source/tanya/async/iocp.d"