language: go
sudo: false

go:
  - 1.8.3
  - 1.9
  - tip

os:
  - linux
  - osx

env:
  matrix:
    RESTIC_TEST_FUSE=0

matrix:
  exclude:
    - os: osx
      go: tip
    - os: osx
      go: 1.8.3
    - os: linux
      go: 1.9
  include:
    - os: linux
      go: 1.9
      sudo: true
      env:
        RESTIC_TEST_FUSE=1
  allow_failures:
    - go: tip

branches:
  only:
    - master

notifications:
  irc:
    channels:
      - "chat.freenode.net#restic"
    on_success: change
    on_failure: change
    skip_join: true

install:
  - go version
  - export GOBIN="$GOPATH/bin"
  - export PATH="$PATH:$GOBIN"
  - go env

script:
  - go run run_integration_tests.go

after_success:
  - bash <(curl -s https://codecov.io/bash) -f all.cov

language: go
sudo: false

go:
  - 1.8.3
  - 1.9

os:
  - linux
  - osx

env:
  matrix:
    RESTIC_TEST_FUSE=0

matrix:
  exclude:
    - os: osx
      go: 1.8.3
    - os: linux
      go: 1.9
  include:
    - os: linux
      go: 1.9
      sudo: true
      env:
        RESTIC_TEST_FUSE=1

branches:
  only:
    - master

notifications:
  irc:
    channels:
      - "chat.freenode.net#restic"
    on_success: change
    on_failure: change
    skip_join: true

install:
  - go version
  - export GOBIN="$GOPATH/bin"
  - export PATH="$PATH:$GOBIN"
  - go env

script:
  - go run run_integration_tests.go

after_success:
  - bash <(curl -s https://codecov.io/bash) -f all.cov

Reduce workload by removing Go tip
Travis: Reduce workload by removing Go tip
