From cb017f22f700cdd8abdc3a751024bf0a8a84ba23 Mon Sep 17 00:00:00 2001
From: derAnfaenger <robhoenig@gmail.com>
Date: Wed, 23 Aug 2017 16:40:38 +0200
Subject: [PATCH] travis: Simplify installation process.

---
 .travis.yml | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 116a2889..9c174c99 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,16 +10,9 @@ matrix:
   - python: "3.6"
     env: TEST_SUITE=lint
 install:
-    # Install codecov, the library for the code coverage reporting tool we use
   - pip install codecov
-
-    # Install pycodestyle, the library for checking pep8 code conformity.
-  - pip install pycodestyle==2.3.1
-
-    # Install all API packages
-  - pip install ./zulip
-  - pip install ./zulip_bots
-  - pip install ./zulip_botserver
+  - tools/provision
+  - source zulip-api-py*-venv/bin/activate
 script:
   - tools/$TEST_SUITE
 after_success: