From fc06e57eb16224a514e1ce163b4a303d82994395 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Tue, 25 Jan 2022 11:36:29 +0100 Subject: [PATCH] Remove travis-ci configuration --- {.travis-ci.d => .github/scripts}/requirements.txt | 0 .../scripts}/set-reportstyle.sh | 0 .github/workflows/python_unittests.yml | 4 ++-- .travis-ci.d/run-unittests.sh | 4 ---- .travis.yml | 13 ------------- 5 files changed, 2 insertions(+), 19 deletions(-) rename {.travis-ci.d => .github/scripts}/requirements.txt (100%) rename {.travis-ci.d => .github/scripts}/set-reportstyle.sh (100%) mode change 100755 => 100644 delete mode 100755 .travis-ci.d/run-unittests.sh delete mode 100644 .travis.yml diff --git a/.travis-ci.d/requirements.txt b/.github/scripts/requirements.txt similarity index 100% rename from .travis-ci.d/requirements.txt rename to .github/scripts/requirements.txt diff --git a/.travis-ci.d/set-reportstyle.sh b/.github/scripts/set-reportstyle.sh old mode 100755 new mode 100644 similarity index 100% rename from .travis-ci.d/set-reportstyle.sh rename to .github/scripts/set-reportstyle.sh diff --git a/.github/workflows/python_unittests.yml b/.github/workflows/python_unittests.yml index c07764f0..bd7c8619 100644 --- a/.github/workflows/python_unittests.yml +++ b/.github/workflows/python_unittests.yml @@ -15,7 +15,7 @@ jobs: with: python-version: ${{ matrix.py_version }} - name: Install requirements - run: pip install -r ${GITHUB_WORKSPACE}/.travis-ci.d/requirements.txt + run: pip install -r ${GITHUB_WORKSPACE}/.github/scripts/requirements.txt - name: Run python unit tests env: GITHUB_TOKEN: ${{ secrets.COVERALLS_TOKEN }} @@ -23,7 +23,7 @@ jobs: run: | export PYTHONPATH=${GITHUB_WORKSPACE}:${PYTHONPATH} echo $PYTHONPATH - source ${GITHUB_WORKSPACE}/.travis-ci.d/set-reportstyle.sh + source ${GITHUB_WORKSPACE}/.github/scripts/set-reportstyle.sh export PYTEST_ADDOPTS=$PYTEST_ADDOPTS" -m 'not integration'" py.test coveralls diff --git a/.travis-ci.d/run-unittests.sh b/.travis-ci.d/run-unittests.sh deleted file mode 100755 index 93722539..00000000 --- a/.travis-ci.d/run-unittests.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -source .travis-ci.d/set-reportstyle.sh -export PYTEST_ADDOPTS=$PYTEST_ADDOPTS" -m 'not integration'" -py.test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6fdb4000..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: python -cache: pip -python: - - "2.7" -# command to install dependencies -install: "pip install -r .travis-ci.d/requirements.txt" -# command to run tests -script: - - export PYTHONPATH=${PWD%/*} - - echo $PYTHONPATH - - .travis-ci.d/run-unittests.sh -after_success: - - coveralls \ No newline at end of file