diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9432539 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: linkcheck + +on: + push: + branches: + - master + pull_request: + +jobs: + linkcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: set up python 3 + uses: actions/setup-python@v2 + with: + python-version: '3.x' + cache: 'pip' + + - name: install dependencies + run: pip install -r requirements.txt + + - name: Verify links + run: python linkcheck.py diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a358363..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: python - -python: - - "3.6" - -branches: - only: - - master - -before_install: - - "pip3 install -U pip" - - "export PYTHONPATH=$PYTHONPATH:$(pwd)" - -cache: pip -install: - - pip install -r requirements.txt - -script: python linkcheck.py -