From b0a5a0c8d6047154cd3be2a7af355c4658116014 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 9 Sep 2019 02:45:15 +0200 Subject: [PATCH] ci: migrate from Travis and AppVeyor to GitHub Actions --- .appveyor.yml | 39 -------------------------------------- .travis.yml | 52 --------------------------------------------------- 2 files changed, 91 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 81db11c444..0000000000 --- a/.appveyor.yml +++ /dev/null @@ -1,39 +0,0 @@ -# For Windows based CI - -environment: - - matrix: - - # For Python versions available on Appveyor, see - # https://www.appveyor.com/docs/windows-images-software/#python - - - BUILD_NAME: py38-unit - PYTHON: "C:\\Python38" - - - BUILD_NAME: py38-lint - PYTHON: "C:\\Python38" - - - BUILD_NAME: py38-docs - PYTHON: "C:\\Python38" - - - BUILD_NAME: py38-acceptance-ghdl - PYTHON: "C:\\Python38" - - - BUILD_NAME: py38-vcomponents-ghdl - PYTHON: "C:\\Python38" - -install: - - "git submodule update --init --recursive" - - "%PYTHON%\\python.exe -m pip install -U pip" - - "%PYTHON%\\python.exe -m pip install -U virtualenv" - - "%PYTHON%\\python.exe -m pip install tox" - - "curl -fsSL -o ghdl.zip https://github.com/ghdl/ghdl/releases/download/v0.36/ghdl-0.36-mingw32-mcode.zip" - - "7z x ghdl.zip -o../ghdl -y" - - "mv ../ghdl/GHDL/0.36-mingw32-mcode/ ../ghdl-v0.36" - - "rm -rf ../ghdl ghdl.zip" - - "set PATH=%PATH%;../ghdl-v0.36/bin" - -build: off - -test_script: - - "%PYTHON%\\python.exe -m tox -e %BUILD_NAME%" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8e41b2c2c0..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,52 +0,0 @@ -language: python -python: '3.8' -install: pip install tox -script: PY_COLORS=1 tox -e $BUILD_NAME - -stages: - - test - - deploy - -matrix: - include: - - &docker - env: - - BUILD_NAME=py38-acceptance-ghdl - - DOCKER_IMAGE=llvm - services: docker - language: minimal - install: skip - script: docker run --rm -tv $(pwd):/src -w /src vunit/dev:$DOCKER_IMAGE tox -e $BUILD_NAME - - - <<: *docker - env: - - BUILD_NAME=py38-vcomponents-ghdl - - DOCKER_IMAGE=mcode - - - env: BUILD_NAME=py38-fmt - script: PY_COLORS=1 tox -e $BUILD_NAME -- --check - - - env: BUILD_NAME="py38-lint -- --color=yes" - - - env: BUILD_NAME="py38-unit -- --color=yes" - - - env: BUILD_NAME=py38-docs - before_script: git fetch --unshallow --tags - - # Deploy to PyPI whenever the package version has changed - # When a package version has not changed a new upload will not be triggered - - stage: deploy - if: tag IS present - script: - - git fetch --unshallow --tags - - python tools/release.py validate - deploy: - provider: pypi - distributions: sdist - skip_cleanup: true - skip_upload_docs: true - user: $PYPI_USER - password: $PYPI_PASSWORD - on: - repo: VUnit/vunit - all_branches: true