version: 2

jobs:
  build:
    docker:
      - image: dideler/fish-shell:3.0.0
    shell: fish
    steps:
      - checkout
      - run:
          name: Install fisher
          command: |
            apt-get update --quiet
            apt-get install --yes --quiet curl
            curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher
            fisher version
      - run:
          name: Install gh
          command: |
            fisher add < fishfile
            fisher add (pwd)
      - run:
          name: Run tests
          command: fishtape test/*.fish

version: 2

jobs:
  build:
    docker:
      - image: dideler/fish-shell:3.0.0
    shell: fish
    steps:
      - checkout
      - run:
          name: Install fisher
          command: |
            apt-get update --quiet
            apt-get install --yes --quiet curl
            curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher
            fisher --version
      - run:
          name: Install gh
          command: |
            fisher add < fishfile
            fisher add (pwd)
      - run:
          name: Run tests
          command: fishtape test/*.fish

Fix CI build: installing fisher
Fix CI build: installing fisher

There was a breaking API change in fisher 3.2.6 even though it wasn't
a major version change according to semver.

https://github.com/jorgebucaran/fisher/commit/37a6cd28e3b742915be4d672c988cf55bcafc8fb
