From 7f1aa107d8874be6bd031fe21882015c543dcc3a Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Sun, 6 Dec 2020 21:43:59 +0200 Subject: [PATCH 1/2] ci: Delete travis settings as they no longer support OSS Very sad indeed --- .travis.yml | 60 ----------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d199e9d6..00000000 --- a/.travis.yml +++ /dev/null @@ -1,60 +0,0 @@ -# YAML anchors need to appear first. -# Keys starting with an underscore are the custom ones, refer to -# https://docs.travis-ci.com/user/build-config-yaml#private-keys-as-yaml-anchors-and-aliases-and-external-tooling - -_native_job: &native_job - script: | - test/run - -language: shell - -os: linux - -dist: xenial - -cache: - directories: - - "${HOME}/.cache/pip" - - "${HOME}/.cache/pre-commit" - - "${HOME}/.pre-commit-venv" - - "${HOME}/bin" - - /usr/lib/python3.8 - -jobs: - include: - - language: python - python: 3.8 - name: docs - dist: bionic - install: - pip3 install -r docs/requirements.txt; - script: - sphinx-build -W -b html docs docs/_build/html; - - - language: go - go: "1.14" - name: pre-commit lint - dist: bionic - sudo: required - before_script: - GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt; - curl https://pre-commit.com/install-local.py | python3 - - script: - ./lint_clean_files.sh; - - - <<: *native_job - name: Ubuntu 16.04 - - - <<: *native_job - name: Ubuntu 18.04 - dist: bionic - - - <<: *native_job - name: MacOS xcode9.4 - os: osx - osx_image: xcode9.4 # Default xcode on Travis. - - - <<: *native_job - name: MacOS xcode11.5 - os: osx - osx_image: xcode11.5 # Latest xcode on Travis. From 0e6f10f48930c4417f21a680d15e6eaddf102e31 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Mon, 7 Dec 2020 21:38:35 +0200 Subject: [PATCH 2/2] docs: Add github action CI badge --- docs/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 8867f05a..f8e94995 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,5 @@ # Bash-it - -[![Build Status](https://travis-ci.com/Bash-it/bash-it.svg?branch=master)](https://travis-ci.com/Bash-it/bash-it) +![Build Status](https://github.com/Bash-it/bash-it/workflows/CI/badge.svg?branch=master) [![Join the chat at https://gitter.im/Bash-it/bash-it](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Bash-it/bash-it?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) **Bash-it** is a collection of community Bash commands and scripts for Bash 3.2+.