Skip to content

Commit

Permalink
ci: Build and install a wheel before all testing
Browse files Browse the repository at this point in the history
This tests that scuba behaves as expected when installed as a wheel,
which is needed for performance (see #71).
  • Loading branch information
JonathonReinhart committed Aug 7, 2016
1 parent 1b11f9e commit 7f1c1ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-$(python -c 'import scuba.version; print scuba.version.__version__')-py2.py3-none-any.whl
- ./run_nosetests.sh
- sudo pip install .
- ./run_full_tests.py

after_success:
Expand Down

0 comments on commit 7f1c1ce

Please sign in to comment.