From e344f6c6245fe1121976b407a989af86c7453dad Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 17 Jun 2020 23:45:48 -0400 Subject: Extracted checks into a tools directory. Having the checks duplicated between .git-hooks and .travis.yml was a recipe for them to diverge eventually. This is somewhat tidier, and creates a clear convention for any future tools-like scripts. I didn't do the same to install steps, as they're a lot more sensitive to the specific environment - Travis requires different things from Github, which requires different things from CircleCI, which requires different things from a local environment. --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1b8bcad..db31059 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,5 @@ install: - cargo install cargo-udeps - cargo build -# dup of the list in .git-hooks/pre-commit script: - - cargo build --locked - - cargo test - - cargo fmt -- --check - - cargo clippy -- --deny warnings - - cargo udeps --locked --all-targets + - tools/checks -- cgit v1.2.3