diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..236cbf8 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,15 @@ +name: Rust + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 48889e6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: rust - -# Test on the latest versions of all channels. -rust: - - stable - - beta - - nightly - -script: - - cargo build --all - - cargo test --all - -# Run this build on the "container-based infrastructure" -# See http://docs.travis-ci.com/user/workers/container-based-infrastructure/. -sudo: false