Skip to content

Commit 5148159

Browse files
committed
Switch CI to GitHub actions
This loses the publication to gh-pages, but that all predates docs.rs...
1 parent 0f67003 commit 5148159

File tree

4 files changed

+17
-48
lines changed

4 files changed

+17
-48
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
rust: [stable, beta, nightly]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Install Rust
14+
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
15+
- run: cargo test
16+
- run: cargo doc

.travis.yml

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

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ getopts
33

44
A Rust library for option parsing for CLI utilities.
55

6-
[![Build Status](https://travis-ci.org/rust-lang-nursery/getopts.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/getopts)
7-
8-
[Documentation](https://doc.rust-lang.org/getopts)
6+
[Documentation](https://docs.rs/getopts)
97

108
## Usage
119

@@ -16,12 +14,6 @@ Add this to your `Cargo.toml`:
1614
getopts = "0.2"
1715
```
1816

19-
and this to your crate root:
20-
21-
```rust
22-
extern crate getopts;
23-
```
24-
2517
## Rust Version Support
2618

2719
The minimum supported Rust version is 1.18.

appveyor.yml

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

0 commit comments

Comments
 (0)