diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e47bcb2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: cipherscan + +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.10", "3.12"] + steps: + - uses: actions/checkout@v4 + - name: Test Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install + run: | + python -m pip install six + - name: Scan + run: | + ./cipherscan example.org diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3386d91..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -dist: trusty -language: python -script: -- ./cipherscan google.com diff --git a/README.md b/README.md index 2459707..6bf321c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ CipherScan ========== -[![Build Status](https://travis-ci.org/mozilla/cipherscan.svg?branch=master)](https://travis-ci.org/mozilla/cipherscan) +[![CI](https://github.com/mozilla/cipherscan/actions/workflows/test.yml/badge.svg)](https://github.com/mozilla/cipherscan/actions/workflows/test.yml) ![cipherscan](https://pbs.twimg.com/media/CPbjvCFW8AAnUK3.png:large)