diff options
-rw-r--r-- | .github/workflows/build.yml | 30 | ||||
-rw-r--r-- | .travis.yml | 16 | ||||
-rw-r--r-- | README.rst | 4 |
3 files changed, 32 insertions, 18 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0f63125 --- /dev/null +++ b/.github/workflows/build.yml | |||
@@ -0,0 +1,30 @@ | |||
1 | name: build | ||
2 | |||
3 | on: | ||
4 | - push | ||
5 | - pull_request | ||
6 | |||
7 | jobs: | ||
8 | build: | ||
9 | runs-on: ${{ matrix.os }} | ||
10 | |||
11 | strategy: | ||
12 | matrix: | ||
13 | os: | ||
14 | - ubuntu-latest | ||
15 | - macos-latest | ||
16 | python-version: | ||
17 | - 3.5 | ||
18 | - 3.6 | ||
19 | - 3.7 | ||
20 | - 3.8 | ||
21 | |||
22 | steps: | ||
23 | - uses: actions/checkout@v2 | ||
24 | |||
25 | - uses: actions/setup-python@v2 | ||
26 | with: | ||
27 | python-version: ${{ matrix.python-version }} | ||
28 | |||
29 | - run: pip install -U pip setuptools wheel mock nose pytest | ||
30 | - run: python setup.py release | ||
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 38a96b7..0000000 --- a/.travis.yml +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | language: python | ||
2 | matrix: | ||
3 | include: | ||
4 | - python: "3.5" | ||
5 | - python: "3.6" | ||
6 | - python: "3.7" | ||
7 | dist: xenial | ||
8 | before_script: | ||
9 | # Travis versions of these are really outdated | ||
10 | - pip install -U mock nose pytest | ||
11 | # Enable sending Coverage data | ||
12 | - pip install codecov | ||
13 | script: | ||
14 | - python setup.py release | ||
15 | after_success: | ||
16 | - codecov | ||
@@ -5,8 +5,8 @@ Pandora API Client | |||
5 | .. image:: https://img.shields.io/pypi/v/pydora.svg | 5 | .. image:: https://img.shields.io/pypi/v/pydora.svg |
6 | :target: https://pypi.python.org/pypi/pydora | 6 | :target: https://pypi.python.org/pypi/pydora |
7 | 7 | ||
8 | .. image:: https://img.shields.io/travis/mcrute/pydora.svg | 8 | .. image:: https://github.com/mcrute/pydora-build-test/workflows/build/badge.svg |
9 | :target: https://travis-ci.org/mcrute/pydora | 9 | :target: https://github.com/mcrute/pydora-build-test/actions?query=workflow%3Abuild |
10 | 10 | ||
11 | This code is licensed under the MIT license. The code is maintained on `GitHub | 11 | This code is licensed under the MIT license. The code is maintained on `GitHub |
12 | <https://github.com/mcrute/pydora>`_. | 12 | <https://github.com/mcrute/pydora>`_. |