diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1b50364 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: "CI" + +on: + push: + branches: + - main + pull_request: + branches: + - "**" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: bash -c 'shopt -s globstar; shellcheck **/*.sh' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 70c7c1f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -dist: xenial -language: bash - -before_install: - - sudo apt-get -qq update - - sudo apt-get install -y shellcheck - -script: - - bash -c 'shopt -s globstar; shellcheck **/*.sh' - -matrix: - fast_finish: true - -notifications: - email: false diff --git a/readme.md b/readme.md index 239fd0c..ead196b 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ > 👩‍🎤 personal dotfiles, scrambled together from the interwebz. Highly macOS oriented, with zsh, Homebrew. -[![Build Status](https://travis-ci.com/kremalicious/dotfiles.svg?branch=master)](https://travis-ci.com/kremalicious/dotfiles) +[![Build Status](https://github.com/kremalicious/dotfiles/workflows/CI/badge.svg)](https://github.com/kremalicious/dotfiles/actions) ![hackerman](https://cloud.githubusercontent.com/assets/90316/26279873/9240a9d8-3dc0-11e7-9353-783b36ae6aff.jpg) @@ -13,6 +13,7 @@ Clone this repository and execute the install script to symlink respective dotfi ```bash git clone git@github.com:kremalicious/dotfiles.git cd dotfiles + ./bin/install.sh ```