Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace non-functional Travis-CI with GitHub Actions #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
rust:
strategy:
fail-fast: false
matrix:
version: [stable, beta, nightly]
name: rust ${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install test dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev xvfb
- run: rustup default ${{ matrix.version }}
- run: xvfb-run -a cargo test --all
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# x11-clipboard
[![travis-ci](https://travis-ci.org/quininer/x11-clipboard.svg?branch=master)](https://travis-ci.org/quininer/x11-clipboard)
[![CI](https://github.com/quininer/x11-clipboard/actions/workflows/ci.yml/badge.svg)](https://github.com/quininer/x11-clipboard/actions/workflows/ci.yml)
[![crates](https://img.shields.io/crates/v/x11-clipboard.svg)](https://crates.io/crates/x11-clipboard)
[![license](https://img.shields.io/github/license/quininer/x11-clipboard.svg)](https://github.com/quininer/x11-clipboard/blob/master/LICENSE)
[![docs.rs](https://docs.rs/x11-clipboard/badge.svg)](https://docs.rs/x11-clipboard/)
Expand Down