Skip to content

Commit 3bae1bd

Browse files
committed
Swithc to GitHub actions
1 parent f2eeea6 commit 3bae1bd

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
- staging
8+
- trying
9+
10+
jobs:
11+
rust:
12+
name: Rust
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest, windows-latest, macos-latest]
19+
20+
env:
21+
RUSTFLAGS: -D warnings
22+
RUSTUP_MAX_RETRIES: 10
23+
CARGO_NET_RETRY: 10
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v2
28+
29+
- name: Install Rust toolchain
30+
uses: actions-rs/toolchain@v1
31+
with:
32+
toolchain: stable
33+
profile: minimal
34+
35+
- name: Test
36+
run: cargo test --features serde

.travis.yml

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

bors.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
status = [
2+
"Rust (ubuntu-latest)",
3+
"Rust (windows-latest)",
4+
"Rust (macos-latest)",
5+
]
6+
delete_merged_branches = true

0 commit comments

Comments
 (0)