Skip to content

Commit

Permalink
Disable NOSE_TIME on travis since it has a pretty large overhead (1+
Browse files Browse the repository at this point in the history
minute for each test target).
  • Loading branch information
Kami committed Jul 26, 2018
1 parent d4e8d98 commit 841e540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
# environments where small terminal size is used.
- COLUMNS=120
- PYLINT_CONCURRENCY=2
- NOSE_TIME=no
matrix:
include:
# NOTE: We combine builds because Travis offers a maximum of 5 concurrent
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ ifndef PYLINT_CONCURRENCY
endif

NOSE_OPTS := --rednose --immediate --with-parallel
NOSE_TIME := $(NOSE_TIME)

ifndef NOSE_TIME
NOSE_TIME := 1
NOSE_TIME := yes
endif

ifdef NOSE_TIME
ifeq ($(NOSE_TIME),yes)
NOSE_OPTS := --rednose --immediate --with-parallel --with-timer
endif

Expand Down

0 comments on commit 841e540

Please sign in to comment.