From 71a9521c7d70a745a26487cc10683da1a4c107fb Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Sun, 7 Aug 2016 11:41:43 -0400 Subject: [PATCH] ci: Build and install a wheel before all testing This tests that scuba behaves as expected when installed as a wheel, which is needed for performance (see #71). --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index babb6631..f001e931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,11 +31,14 @@ before_script: - ci/install_musl-libc.sh - docker version - ci/test_setup.sh + - pip install wheel script: - - make + # Build and install a wheel + # This is the preferred installation mechanism (see #71) + - python setup.py bdist_wheel + - pip install dist/scuba-*-py2.py3-none-any.whl - ./run_nosetests.sh - - sudo pip install . - ./run_full_tests.py after_success: