chore: Add smoke test to Jython Travis job

This commit is contained in:
Kurt Griffiths
2015-05-12 12:16:00 -05:00
parent e07450f1fb
commit 82c9a0f522
3 changed files with 9 additions and 2 deletions

View File

@@ -30,4 +30,4 @@ notifications:
on_failure: always
use_notice: true
skip_join: true

View File

@@ -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:

View File

@@ -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