erictleung / dotfiles

:wrench: A repository of my dotfiles to setup my development environments
13 stars 1 forks source link

Continuous integration tests to lint and test configurations #18

Open erictleung opened 5 years ago

erictleung commented 5 years ago

Shell scripts: https://carlosbecker.com/posts/lint-shell-scripts/ and https://github.com/koalaman/shellcheck

Vim: https://github.com/syngan/vim-vimlint or https://github.com/Vimjas/vint

Emacs: https://github.com/gonewest818/elisp-lint

Termux: Use bash script lint

Blog posts: https://ashishb.net/tech/test-your-dotfiles-using-travis-ci/

erictleung commented 4 years ago

Multiple settings example

matrix:
  include:
    - language: ruby
      rvm: 2.2
      before_script: gem install awesome_bot
      script: awesome_bot --allow-redirect --alow-ssl README.md

    - language: node_js
      node_js: 'node'
      before_script: npm install awesome-lint

notifications:
  email: false