update travis_tests

This commit is contained in:
Martin Bubel 2023-11-13 21:02:20 +01:00
parent 2268ea8652
commit 9913763529

View file

@ -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/"])