From 8b86c59d8c150ac5dfbc3e5f415101cdaf94441b Mon Sep 17 00:00:00 2001 From: CensoredUsername Date: Mon, 12 Feb 2024 13:36:02 +0100 Subject: [PATCH] Remove old travis cruft, and try to keep python 2.7 testing alive for a bit. --- .github/workflows/python-app.yaml | 16 +++++++++------- .travis.yml | 26 -------------------------- 2 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/python-app.yaml b/.github/workflows/python-app.yaml index ce31f2c8..c603f078 100644 --- a/.github/workflows/python-app.yaml +++ b/.github/workflows/python-app.yaml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Build +name: Test build and run tests on: push: @@ -10,18 +10,20 @@ on: branches: [ master, dev ] jobs: - build: - + tests-py2: + name: Runs tests that require python 2 runs-on: ubuntu-latest + container: + image: python:2.7.18-stretch steps: - uses: actions/checkout@v2 with: submodules: recursive - - name: Set up Python 2.7 - uses: actions/setup-python@v2 - with: - python-version: "2.7" + # - name: Set up Python 2.7 + # uses: actions/setup-python@v2 + # with: + # python-version: "2.7" - name: Test by decompiling a script and building un.rpyc run: | ./unrpyc.py --clobber testcases/script.rpyc diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a4263f1e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: python -python: -- '2.7' -script: -- ./unrpyc.py --clobber testcases/script.rpyc -- diff -u testcases/script.orig.rpy testcases/script.rpy -- cd un.rpyc -- "./compile.py -p 1" -- cd .. -before_deploy: "./make-bintray-json.sh" -deploy: -- skip_cleanup: true - on: - all_branches: true - provider: bintray - file: bintray.json - user: jackmcbarn - key: - secure: g9uz4gG8Dmb9cTG4hNNmuzQvKON00NTON2lOfQH6HbYkFYySwCJ76Kq1D11d7luav2s/bPytuNSrIUCTwGZf64eMGDuZbbpFR4dGEIuxYmSKbCqTL9getd5EapwxffQPoridG/SZGOBRLgI+zw0XRlNMDfBJQxp+B8Zs7u7+xMg= -- skip_cleanup: true - provider: releases - api_key: - secure: FLqsPJrAsLll9RwvQf6Ozw7fqD/cPizeN6CH+apTs/ttEwisD3eB7vlEswfgsFGNFiWQ62z3e31ute2fQ4AnksaQ6PJU3USg4I84fxTfq2euuCRF7gGF93eioN0I0/G6wfOXeTz2skRvW5PcEh1egM8SoGWu1W8V+OQT73vZpNE= - file: un.rpyc/un.rpyc - on: - tags: true