mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
update travis_tests
This commit is contained in:
parent
2268ea8652
commit
9913763529
1 changed files with 6 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#===============================================================================
|
||||
# ===============================================================================
|
||||
# Copyright (c) 2015, Max Zwiessele
|
||||
#
|
||||
# All rights reserved.
|
||||
|
|
@ -27,14 +27,13 @@
|
|||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#===============================================================================
|
||||
# ===============================================================================
|
||||
|
||||
#!/usr/bin/env python
|
||||
import matplotlib
|
||||
matplotlib.use('agg')
|
||||
|
||||
import nose, warnings
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter("ignore")
|
||||
nose.main('GPy', defaultTest='GPy/testing', argv=['', '--show-skipped'])
|
||||
matplotlib.use("agg")
|
||||
|
||||
import pytest
|
||||
|
||||
pytest.main(["GPy/testing/"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue