Skip to content

Commit

Permalink
Remove Travis CI; Switch to Github Actions
Browse files Browse the repository at this point in the history
Previous commits set up an initial install of github actions, this commit is
mostly removing Travis CI. Note that it does not completely remove Travis CI,
since our coverage job is not fully ported over yet. We do run the coverage job
in github actions, but don't upload it anywhere, currently. So for now, Travis
CI is still enabled, but only runs the coverage job and uploads the results to
coveralls.io.
  • Loading branch information
fitzgen committed May 18, 2020
1 parent 88579af commit 42ed4e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 102 deletions.
47 changes: 4 additions & 43 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
sudo: required

language: rust
cache:
Expand All @@ -7,15 +7,9 @@ cache:

os:
- linux
- osx

osx_image: xcode7.1

rust:
- 1.38.0
- nightly
- beta
- stable

addons:
apt:
Expand All @@ -27,39 +21,6 @@ before_script:
- echo PATH is $PATH
- export RUST_BACKTRACE=1

script: ./ci/script.sh

env:
matrix:
- GIMLI_JOB="test"
- GIMLI_JOB="features"

matrix:
fast_finish: true
include:
# Coverage should only run on Linux. tarpaulin currently requires nightly Rust.
- rust: nightly
os: linux
sudo: required
env: GIMLI_JOB="coverage"
# Building docs only needs to happen on one os and only on stable.
- rust: stable
os: linux
env: GIMLI_JOB="doc"
# Benching should only happen on nightly.
- rust: nightly
env: GIMLI_JOB="bench"
# Build a 32 bit target.
- rust: stable
sudo: required
services: docker
env:
- TARGET=i686-unknown-linux-gnu
- GIMLI_JOB=cross
# Build a big-endian target.
- rust: stable
sudo: required
services: docker
env:
- TARGET=powerpc64-unknown-linux-gnu
- GIMLI_JOB=cross
script: |
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
cargo tarpaulin --verbose --ciserver travis-ci --coveralls "$TRAVIS_JOB_ID"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![](http://meritbadge.herokuapp.com/gimli) ![](https://img.shields.io/crates/d/gimli.svg)](https://crates.io/crates/gimli)
[![](https://docs.rs/gimli/badge.svg)](https://docs.rs/gimli/)
[![Build Status](https://travis-ci.org/gimli-rs/gimli.svg?branch=master)](https://travis-ci.org/gimli-rs/gimli)
[![Build Status](https://github.com/fitzgen/peepmatic/workflows/Rust/badge.svg)](https://github.com/gimli-rs/gimli/actions)
[![Coverage Status](https://coveralls.io/repos/github/gimli-rs/gimli/badge.svg?branch=master)](https://coveralls.io/github/gimli-rs/gimli?branch=master)

`gimli` is a blazing fast library for consuming the
Expand Down
58 changes: 0 additions & 58 deletions ci/script.sh

This file was deleted.

0 comments on commit 42ed4e5

Please sign in to comment.