Skip to content

Commit

Permalink
run CI on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wookay committed Jun 23, 2020
1 parent df3f913 commit 70fd9ba
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on: [pull_request, push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.3.0]
julia-arch: [x64]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: runtests
run: |
julia --color=yes --project -e 'using Pkg; pkg"test"'
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
# TwitchTools.jl

| **Build Status** |
|:----------------------------------------------------------------:|
| [![][travis-img]][travis-url] [![][codecov-img]][codecov-url] |
| **Build Status** |
|:---------------------------------:|
| [![][actions-img]][actions-url] |


https://dev.twitch.tv/docs/

```julia
using TwitchTools.API
client_id = get(ENV, "TWITCH_CLIENT_ID", "")
clip = API.get_clip(client_id, "LittleGrossSoybeanHassanChop")
@info clip
@info clip.data[1].broadcaster_name

using TwitchTools.APIv5
client_id = get(ENV, "TWITCH_CLIENT_ID", "");
clip = APIv5.get_clip(client_id, "LittleGrossSoybeanHassanChop")
@info clip
@info clip.broadcaster.display_name
```


[travis-img]: https://api.travis-ci.org/wookay/TwitchTools.jl.svg?branch=master
[travis-url]: https://travis-ci.org/wookay/TwitchTools.jl

[codecov-img]: https://codecov.io/gh/wookay/TwitchTools.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/wookay/TwitchTools.jl/branch/master
[actions-img]: https://github.com/Julia-Streamers/TwitchTools.jl/workflows/CI/badge.svg
[actions-url]: https://github.com/Julia-Streamers/TwitchTools.jl/actions

0 comments on commit 70fd9ba

Please sign in to comment.