language: shell
sudo: false
dist: trusty

env:
  - SHELL=sh BORG=stable BORG_VARIANT=borg-linux32
  - SHELL=sh BORG=1.0.11 BORG_VARIANT=borg-linux32
  - SHELL=sh BORG=1.1.0rc3 BORG_VARIANT=borg-linux32
before_script:
  # add custom binary path
  - mkdir "$PWD/custombin/"
  - export PATH="$PATH:$PWD/custombin/"
  -
  - tests/helper/buildBorg.sh

script:
  - tests/helper/verifySignature.sh
  - tests/helper/helperCheckVersion.sh
  - tests/testShellcheck.sh

addons:
  apt:
    sources:
    - debian-sid
    packages:
    # use more recent version of git, which supports commit/tag verification
    - git
    - shellcheck
    - borgbackup

matrix:
  allow_failures:
  - env: SHELL=sh BORG=nightly

notifications:
  email:
    on_success: change
    on_failure: change

language: shell
sudo: false
dist: trusty

env:
  - SHELL=sh BORG=stable BORG_VARIANT=borg-linux32
  - SHELL=sh BORG=1.0.11 BORG_VARIANT=borg-linux32
  - SHELL=sh BORG=1.1.0rc3 BORG_VARIANT=borg-linux32
before_script:
  # add custom binary path
  - mkdir "$PWD/custombin/"
  - export PATH="$PATH:$PWD/custombin/"
  -
  - tests/helper/buildBorg.sh

script:
  - tests/helper/verifySignature.sh
  - tests/helper/helperCheckVersion.sh
  - tests/testShellcheck.sh

addons:
  apt:
    packages:
    # use more recent version of git, which supports commit/tag verification
    - git
    - shellcheck
    - borgbackup

matrix:
  allow_failures:
  - env: SHELL=sh BORG=nightly

notifications:
  email:
    on_success: change
    on_failure: change

Switch back to default repo
Switch back to default repo
