Migrates from Travis to GitHub workflow

pull/10/head
Tpt 5 years ago
parent d2a5d7d83a
commit c74de29c0e
  1. 15
      .github/workflows/build.yml
  2. 17
      .travis.yml
  3. 2
      README.md
  4. 3
      lib/Cargo.toml

@ -0,0 +1,15 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

@ -1,17 +0,0 @@
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
cache: cargo
addons:
apt:
packages:
- clang
script:
- travis_wait cargo build --verbose --all
- cargo test --verbose --all

@ -1,7 +1,7 @@
Rudf
====
[![Build Status](https://travis-ci.org/Tpt/rudf.svg?branch=master)](https://travis-ci.org/Tpt/rudf)
[![actions status](https://github.com/Tpt/rudf/workflows/build/badge.svg)](https://github.com/Tpt/rudf/actions)
[![dependency status](https://deps.rs/repo/github/Tpt/rudf/status.svg)](https://deps.rs/repo/github/Tpt/rudf)

@ -12,9 +12,6 @@ An RDF and SPARQL library in Rust
build = "build.rs"
edition = "2018"
[badges]
travis-ci = { repository = "Tpt/rudf" }
[dependencies]
lazy_static = "1"
rocksdb = { version = "0.12", optional = true }

Loading…
Cancel
Save