chore: Add smoke test to Jython Travis job
This commit is contained in:
@@ -30,4 +30,4 @@ notifications:
|
||||
on_failure: always
|
||||
use_notice: true
|
||||
skip_join: true
|
||||
|
||||
|
||||
|
||||
@@ -19,13 +19,17 @@ from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
from collections import defaultdict
|
||||
import cProfile
|
||||
from decimal import Decimal
|
||||
import gc
|
||||
import random
|
||||
import sys
|
||||
import timeit
|
||||
|
||||
try:
|
||||
import cProfile
|
||||
except ImportError:
|
||||
import profile as cProfile
|
||||
|
||||
try:
|
||||
import guppy
|
||||
except ImportError:
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
if [ "$JYTHON" = "true" ]; then
|
||||
$HOME/jython/bin/nosetests
|
||||
|
||||
# Smoke test
|
||||
$HOME/jython/bin/jython falcon/bench/bench.py -t 1 -b falcon falcon-ext
|
||||
else
|
||||
tox -e $TOX_ENV
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user