Migrate to github actions from travis CI
This commit is contained in:
parent
37572731f1
commit
8fb8cc42c6
|
@ -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
|
19
.travis.yml
19
.travis.yml
|
@ -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
|
||||
|
Loading…
Reference in New Issue