Skip to content

Commit

Permalink
Run tests without cond vars install
Browse files Browse the repository at this point in the history
This will catch the issue we ran into where watchdog
was always being imported (#1355).

Rather than run this for every python version and double
our test matrix, I just updated this to run on the latest
python version.  The types of problems this will catch aren't
tied to a single python version so we only need to run this
test once.
  • Loading branch information
jamesls committed Mar 3, 2020
1 parent d7025f9 commit a49208a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
language: python
sudo: false
env:
global:
- INSTALL_STRING=".[event-file-poller]" TEST_TYPE=prcheck HYPOTHESIS_PROFILE=ci
matrix:
include:
- python: "3.8"
dist: xenial
sudo: true
env: TEST_TYPE=prcheck HYPOTHESIS_PROFILE=ci
env: INSTALL_STRING="."
- python: "3.8"
dist: xenial
sudo: true
- python: "3.7"
dist: xenial
sudo: true
env: TEST_TYPE=prcheck HYPOTHESIS_PROFILE=ci
- python: "3.6"
env: TEST_TYPE=prcheck HYPOTHESIS_PROFILE=ci
- python: "2.7"
env: TEST_TYPE=prcheck-py2 HYPOTHESIS_PROFILE=ci
env: TEST_TYPE=prcheck-py2
install:
- pip install -r requirements-dev.txt -r requirements-docs.txt
- pip install -e .
- pip install -e ".[event-file-poller]"
- pip install -e "$INSTALL_STRING"
script:
- env
- make $TEST_TYPE
Expand Down

0 comments on commit a49208a

Please sign in to comment.