---
dist: focal
addons:
  apt:
    packages:
      - gjs
      - meson
      - npm
matrix:
  include:
    - name: Linter
      script: |
        npm install -g eslint &&
        eslint bin/* src test
    - name: Unit tests
      script: |
        meson _build &&
        ninja -C _build &&
        RUN_THOROUGH_TESTS=yes meson test -C _build

---
dist: focal
addons:
  apt:
    packages:
      - gjs
      - meson
      - npm
matrix:
  include:
    - name: Linter
      script: |
        npm install -g eslint &&
        eslint bin/* src test
    - name: Unit tests
      script: |
        meson _build &&
        ninja -C _build &&
        RUN_THOROUGH_TESTS=yes meson test -C _build
    - name: Installed test
      script: |
        meson _build &&
        ninja -C _build &&
        sudo ninja -C _build install &&
        jasmine

Add an installed test CI job
Add an installed test CI job

This installs Jasmine to /usr/local and runs the installed copy on the
uninstalled copy's tests, in order to verify that it works when
installed.
