diff options
author | Mike Crute <mike@crute.us> | 2020-06-03 21:35:02 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-06-03 22:38:17 +0000 |
commit | 6031c1f78a3ab0c30fb7c108df28281ca1dbce83 (patch) | |
tree | a6ad120384e9032865e45a2f2ad4b03ca373ca14 | |
parent | 42fd534ed0f4d5d973b96a5c4b4ce0a891206444 (diff) | |
download | pydora-6031c1f78a3ab0c30fb7c108df28281ca1dbce83.tar.bz2 pydora-6031c1f78a3ab0c30fb7c108df28281ca1dbce83.tar.xz pydora-6031c1f78a3ab0c30fb7c108df28281ca1dbce83.zip |
Migrate builder to GitHub actions
-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>`_. |