diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-24 11:01:58 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-24 11:06:51 -0400 |
commit | 32ae82214c7c06744f1e8bc0f2789551087a20fe (patch) | |
tree | 842a7a653790e1895a49dcd321ea5e1425af6ad6 | |
parent | d64807aab65a4e25012c639b28d5ac60e24dac32 (diff) | |
download | acap-32ae82214c7c06744f1e8bc0f2789551087a20fe.tar.xz |
ci: Switch to GitHub Actions
-rw-r--r-- | .github/workflows/ci.yml | 18 | ||||
-rw-r--r-- | .travis.yml | 11 | ||||
-rw-r--r-- | README.md | 2 |
3 files changed, 19 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..39a9378 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + + - uses: actions-rs/cargo@v1 + with: + command: test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 331ef33..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: rust - -rust: - - stable - - beta - - nightly - -script: - - cargo build --verbose --benches - - cargo rustdoc --verbose - - cargo test --verbose @@ -4,7 +4,7 @@ [![crates.io](https://img.shields.io/crates/v/acap.svg)](https://crates.io/crates/acap) [![Documentation](https://docs.rs/acap/badge.svg)](https://docs.rs/acap) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/tavianator/knn/blob/main/LICENSE) -[![Build Status](https://travis-ci.com/tavianator/acap.svg?branch=main)](https://travis-ci.com/tavianator/acap) +[![CI Status](https://github.com/tavianator/acap/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/tavianator/acap/actions/workflows/ci.yml) As Close As Possible — [nearest neighbor search] in Rust. |