Permalink
Browse files

correct SLOW env var, run slow tests on ci

  • Loading branch information...
1 parent aada162 commit fa48751fedbfeb5b1b6010304960710d78874cbb @samuelcolvin samuelcolvin committed Oct 14, 2015
Showing with 4 additions and 4 deletions.
  1. +1 −1 .travis.yml
  2. +2 −2 run_tests
  3. +1 −1 tests/__init__.py
View
@@ -15,6 +15,6 @@ install:
- pip install coveralls --use-mirrors
#- pip install pytest # installed by Travis by default already
script:
- - py.test --cov rq
+ - RUN_SLOW_TESTS_TOO=1 py.test --cov rq
after_success:
- coveralls
View
@@ -17,9 +17,9 @@ else
safe_rg=cat
fi
-export ONLY_RUN_FAST_TESTS=1
+export RUN_SLOW_TESTS_TOO=1
if [ "$1" = '-f' ]; then # Poor man's argparse
- unset ONLY_RUN_FAST_TESTS
+ unset RUN_SLOW_TESTS_TOO
shift 1
fi
View
@@ -32,7 +32,7 @@ def slow(f):
@wraps(f)
def _inner(*args, **kwargs):
- if os.environ.get('ONLY_RUN_FAST_TESTS'):
+ if os.environ.get('RUN_SLOW_TESTS_TOO'):
f(*args, **kwargs)
return _inner

0 comments on commit fa48751

Please sign in to comment.