index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2021-01-13 15:09:43.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2021-01-13 15:09:43.0 +00:00:00
commit
cbedbc01266bcc00bb93a8710631154f78ffa2bd [patch]
tree
e976f6516d72f3a1b47850cdad99f946a3331240
parent
f3008f36fe2957977b90e79d22a4452bc3ef5f77
download
cbedbc01266bcc00bb93a8710631154f78ffa2bd.tar.gz

chore: minor github actions updates



Diff

 .travis.yml | 35 -----------------------------------
 Makefile    |  5 +++++
 README.md   |  2 +-
 3 files changed, 6 insertions(+), 36 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index eb5a0dd..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,35 +0,0 @@
language: rust
sudo: required
dist: trusty
notifications:
  email: false
addons:
  apt:
    packages:
      - libssl-dev
env:
  - PATH=$HOME/.cargo/bin:$PATH
script:
  - cargo test -j2 --all
matrix:
  fast_finish: true
  include:
    - rust: stable
    # Run rustfmt in its own shard.
    - rust: stable
      env:
        - SHARD=rustfmt
      before_script:
        - rustup component add --toolchain stable rustfmt-preview
      script:
        - echo "Checking project codebase with rustfmt release `cargo fmt --version`."
        - cargo fmt --all -- --check
    # Run Clippy in its own shard.
    - rust: stable
      env:
        - SHARD=clippy
      before_script:
        - rustup component add --toolchain stable clippy
      script:
        - echo "Checking project codebase with Clippy release `cargo clippy --version`."
        - cargo clippy --all --profile test
diff --git a/Makefile b/Makefile
index 0a6ff85..bde0065 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,11 @@ dev:
	@cargo make --makefile Makefile.toml watch
.PHONY: dev

lint:
	@rustc -vV
	@cargo clippy --all-features -- -D warnings
.PHONY: lint

build:
	@rustc -vV
	@cargo build --release --target $(PKG_TARGET)
diff --git a/README.md b/README.md
index ce10a20..c5fbc28 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
# Static Web Server [![CI]https://github.com/joseluisq/static-web-server/workflows/CI/badge.svg]https://github.com/joseluisq/static-web-server/actions?query=workflow%3ACI [![Docker Image Version (tag latest semver)]https://img.shields.io/docker/v/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/ [![Docker Image Size (tag)]https://img.shields.io/docker/image-size/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/tags [![Docker Image]https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg]https://hub.docker.com/r/joseluisq/static-web-server/
# Static Web Server [![CI]https://github.com/joseluisq/static-web-server/workflows/CI/badge.svg?branch=1.x]https://github.com/joseluisq/static-web-server/actions?query=workflow%3ACI [![Docker Image Version (tag latest semver)]https://img.shields.io/docker/v/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/ [![Docker Image Size (tag)]https://img.shields.io/docker/image-size/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/tags [![Docker Image]https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg]https://hub.docker.com/r/joseluisq/static-web-server/

*This the stable `v1`. For the `v2` upcoming refer to [master]https://github.com/joseluisq/static-web-server branch.*