dist: xenial
sudo: required
services:
- docker
before_cache:
  # Travis can't cache files that are not readable by "others"
  - chmod -R a+r $HOME/gopath
  - chmod -R a+r $HOME/cached-deps
cache:
  directories:
    - $HOME/.cache/go-build
    - $HOME/cached-deps
    - $HOME/gopath
language: go
go:
- "1.12.6"
env:
  global:
    - PATH=$HOME/cached-deps:$PATH
  matrix:
    - BUCKET=MISC
    # If you want to update the number of PPS workers, you'll also need to update
    # the value in ./etc/build/PPS_BUILD_BUCKET_COUNT
    - BUCKET=PPS1
    - BUCKET=PPS2
    - BUCKET=PPS3
    - BUCKET=EXAMPLES
before_install:
- sudo etc/testing/travis_before_install.sh
before_script:
- docker version
script:
- etc/testing/travis.sh
after_failure:
- kubectl version
- kubectl get all
- kubectl get all --namespace kafka
- kubectl describe pod -l app=pachd
- kubectl describe pod -l suite=pachyderm,app=etcd
- kubectl logs -l app=pachd | tail -n 100
notifications:
  slack: pachyderm:qmSCZSX1Q2yWxc6DjNZZFLGd

dist: xenial
sudo: required
services:
- docker
cache:
  directories:
    - $HOME/.cache/go-build
    - $HOME/cached-deps
language: go
go:
- "1.12.6"
env:
  global:
    - PATH=$HOME/cached-deps:$PATH
  matrix:
    - BUCKET=MISC
    # If you want to update the number of PPS workers, you'll also need to update
    # the value in ./etc/build/PPS_BUILD_BUCKET_COUNT
    - BUCKET=PPS1
    - BUCKET=PPS2
    - BUCKET=PPS3
    - BUCKET=EXAMPLES
before_install:
- sudo etc/testing/travis_before_install.sh
before_script:
- docker version
script:
- etc/testing/travis.sh
after_failure:
- kubectl version
- kubectl get all
- kubectl get all --namespace kafka
- kubectl describe pod -l app=pachd
- kubectl describe pod -l suite=pachyderm,app=etcd
- kubectl logs -l app=pachd | tail -n 100
notifications:
  slack: pachyderm:qmSCZSX1Q2yWxc6DjNZZFLGd

Revert "Try caching gopath dir"
Revert "Try caching gopath dir"

This reverts commit 9d45e0c72d7a45e8f33b5ddd29bba79e5e578451.
