summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Tangren <d.tangren@gmail.com>2019-12-07 13:18:15 -0500
committerGitHub <noreply@github.com>2019-12-07 13:18:15 -0500
commitb89f1ec4bfb0185755d7a8c055a0b6f4c7b82163 (patch)
treed547b58f63997718bd28ced190a4eec942a9b679
parentcf8a06e79079193c89752239b1be7f3b18491f45 (diff)
drop travis support (#205)
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md2
-rw-r--r--.travis.yml74
-rw-r--r--README.md2
3 files changed, 2 insertions, 76 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 1f004a2..b14d5c6 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,7 +1,7 @@
<!--
1. If there is a breaking or notable change please call that out as these will need to be added to the CHANGELOG.md file in this repository.
2. This repository tries to stick with the community style conventions using [rustfmt](https://github.com/rust-lang-nursery/rustfmt#quick-start) with the *default* settings. If you have custom settings you may find that rustfmt
-clutter the diff of your change with unrelated changes. Please apply formatting with `cargo fmt` before submitting a pr.
+clutter the diff of your change with unrelated changes. Please apply formatting with `cargo +nightly fmt --all` before submitting a pr.
-->
## What did you implement:
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 3c63f85..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,74 +0,0 @@
-# required because of tarpaulin dependency
-sudo: required
-
-language: rust
-
-# only build pushes to master
-# prs are build separately
-# https://docs.travis-ci.com/user/pull-requests/#how-pull-requests-are-built
-branches:
- only:
- - master
-
-matrix:
- fast_finish: true
- include:
- - rust: nightly
- - rust: beta
- - rust: stable
-
-install: |
- if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
- # see also https://github.com/xd009642/tarpaulin/issues/150 for tarpaulin nightly dependency
- RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f
- # should only be necessary until rustfmt produces consistent results in stable/nightly
- rustup component add rustfmt
- fi
-
-script:
-- |
- if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
- cargo fmt --all -- --check
- fi
-- cargo test
-
-# Cache `cargo install`ed tools, but don't cache the project's `target`
-# directory (which ends up over-caching and filling all disk space!)
-# https://levans.fr/rust_travis_cache.html
-cache:
- directories:
- - /home/travis/.cargo
-
-before_cache:
- # But don't cache the cargo registry
- - rm -rf /home/travis/.cargo/registry
-
-addons:
- apt:
- packages:
- # required by tarpaulin code coverage tool
- - libssl-dev
-
-after_success:
- # report coverage to coveralls
- # see https://github.com/xd009642/tarpaulin for more information
- - '[ $TRAVIS_EVENT_TYPE != "cron" ] &&
- [ $TRAVIS_RUST_VERSION = stable ] &&
- [ $TRAVIS_BRANCH = master ] &&
- [ $TRAVIS_PULL_REQUEST = false ] &&
- cargo +nightly tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID || true'
- - '[ $TRAVIS_RUST_VERSION = stable ] &&
- [ $TRAVIS_BRANCH = master ] &&
- [ $TRAVIS_PULL_REQUEST = false ]
- && cargo doc --no-deps &&
- echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d / -f 2`/index.html>" > target/doc/index.html'
-
-deploy:
- provider: pages
- skip-cleanup: true
- github-token: $GH_TOKEN
- local-dir: target/doc
- keep-history: false
- on:
- branch: master
- condition: $TRAVIS_RUST_VERSION = stable
diff --git a/README.md b/README.md
index ca85c94..21acffc 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# shiplift
-[![GitHub Actions](https://github.com/softprops/shiplift/workflows/Main/badge.svg)](https://github.com/softprops/shiplift/actions) [![Build Status](https://travis-ci.org/softprops/shiplift.svg)](https://travis-ci.org/softprops/shiplift) [![crates.io](http://meritbadge.herokuapp.com/shiplift)](https://crates.io/crates/shiplift) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![Released API docs](https://docs.rs/shiplift/badge.svg)](http://docs.rs/shiplift) [![Master API docs](https://img.shields.io/badge/docs-master-green.svg)](https://softprops.github.io/shiplift)
+[![GitHub Actions](https://github.com/softprops/shiplift/workflows/Main/badge.svg)](https://github.com/softprops/shiplift/actions) [![crates.io](http://meritbadge.herokuapp.com/shiplift)](https://crates.io/crates/shiplift) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![Released API docs](https://docs.rs/shiplift/badge.svg)](http://docs.rs/shiplift) [![Master API docs](https://img.shields.io/badge/docs-master-green.svg)](https://softprops.github.io/shiplift)
> a rust interface for maneuvering [docker](https://www.docker.com/) containers