https://deno.land/x/install /.travis.yml

deno.land can’t automatically transpile this file. If you think it should be able to, open an issue!

matrix:
  include:
    - language: sh
      os:
        - linux
      addons:
        apt:
          packages:
            - shellcheck
      env:
        - SHFMT_VERSION=2.6.2
        - PWSH_VERSION=6.1.2
        - PATH=$HOME/bin/pwsh:$HOME/bin:$PATH
      before_script:
        - curl -sSL -o $HOME/bin/shfmt https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64
        - chmod +x $HOME/bin/shfmt
        - mkdir -p $HOME/bin/pwsh
        - curl -sSL -o $HOME/bin/pwsh/pwsh.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v$PWSH_VERSION/powershell-$PWSH_VERSION-linux-x64.tar.gz
        - tar -xf $HOME/bin/pwsh/pwsh.tar.gz -C $HOME/bin/pwsh
        - chmod +x $HOME/bin/pwsh/pwsh
      script:
        - ./install_test.sh
        - ./install_test.ps1
    - language: sh
      os:
        - osx
      addons:
        homebrew:
          update: true
          packages:
            - shellcheck
            - shfmt
      env:
        - PWSH_VERSION=6.1.2
        - PATH=$HOME/bin/pwsh:$PATH
      before_script:
        - mkdir -p $HOME/bin/pwsh
        - curl -sSL -o $HOME/bin/pwsh/pwsh.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v$PWSH_VERSION/powershell-$PWSH_VERSION-osx-x64.tar.gz
        - tar -xf $HOME/bin/pwsh/pwsh.tar.gz -C $HOME/bin/pwsh
        - chmod +x $HOME/bin/pwsh/pwsh
      script:
        - ./install_test.sh
        - ./install_test.ps1