Skip to content

Commit 911ed10

Browse files
committed
migrate ci to github workflows
1 parent 94e96a9 commit 911ed10

File tree

4 files changed

+26
-11
lines changed

4 files changed

+26
-11
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
strategy:
10+
matrix:
11+
toolchain:
12+
- "1.67"
13+
- stable
14+
- beta
15+
- nightly
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v6
19+
- uses: dtolnay/rust-toolchain@master
20+
with:
21+
toolchain: ${{ matrix.toolchain }}
22+
- run: cargo test
23+
- run: cargo bench
24+
- run: cargo doc
25+
env:
26+
RUSTDOCFLAGS: "-D warnings"

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ num-traits = "0.2"
2020
[dev-dependencies]
2121
bencher = "0.1"
2222
quickcheck = "1"
23-
24-
[badges]
25-
travis-ci = { repository = "niklasf/rust-huffman-compress", branch = "master" }

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ huffman-compress
44
[Huffman compression](https://en.wikipedia.org/wiki/Huffman_coding)
55
given a probability distribution over arbitrary symbols.
66

7-
[![Build Status](https://travis-ci.org/niklasf/rust-huffman-compress.svg?branch=master)](https://travis-ci.org/niklasf/rust-huffman-compress)
87
[![crates.io](https://img.shields.io/crates/v/huffman-compress.svg)](https://crates.io/crates/huffman-compress)
98
[![docs.rs](https://docs.rs/huffman-compress/badge.svg)](https://docs.rs/huffman-compress)
109
[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](#Alternatives)

0 commit comments

Comments
 (0)