install:
  - pip install pbs
  - python provision.py --travis
cache: apt
language: python
python:
  - "2.7"
# command to run tests
script:
  - source /srv/zulip-venv/bin/activate && env PATH=$PATH:/srv/zulip-venv/bin ./tools/test-all
sudo: required
services:
- docker
addons:
  postgresql: "9.3"

install:
  - pip install pbs
  - python provision.py --travis
cache:
  - apt: false
language: python
python:
  - "2.7"
# command to run tests
script:
  - source /srv/zulip-venv/bin/activate && env PATH=$PATH:/srv/zulip-venv/bin ./tools/test-all
sudo: required
services:
- docker
addons:
  postgresql: "9.3"

Disable apt caching in Travis CI configuration.
Disable apt caching in Travis CI configuration.

Apparently it isn't supposed to work reliably with the container-based
infrastructure that we're using and empirically it's causing build
failures.

Thanks to @mijime for tracking this down.
