Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 4, 2021
1 parent 2d10271 commit 5348bf3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
export DISPLAY=localhost:0.0
# unittest
export PYTHONPATH=src
python setup.py unittests -d 15 -g ".*((LONG)|(SKIP)|(notebooks)).*"
python setup.py unittests -d 15 -g ".*((LONG)|(SKIP)|(notebook)).*"
# Some tests take for ever, cutting the list.

- run:
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ install:
- pip install -r requirements.txt
- pip uninstall -y shapely
- pip install --no-binary shapely shapely
# onnx
- sudo apt-get install protobuf-compiler libprotoc-dev cmake
- git clone -b master --single-branch https://github.com/onnx/onnx.git --recursive
- cd onnx
- export ONNX_ML=1
- export ONNX_BUILD_TESTS=1
- export ONNXIFI_DUMMY_BACKEND=1
- pip install -e .
- cd ..
# settings
- export PYTHONPATH=src

script:
Expand Down
2 changes: 1 addition & 1 deletion _unittests/ut_dnotebooks/test_1A_notebook_home.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
@brief test log(time=12s)
@brief test log(time=120s)
"""
import unittest
import shutil
Expand Down
4 changes: 4 additions & 0 deletions _unittests/ut_faq/test_faq_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ def test_faq_cython_compile(self):
ext = "win_amd64" if res[0] == "64bit" else "win32"
name = "primes.cp%d%d-%s.pyd" % (
sys.version_info[0], sys.version_info[1], ext)
elif sys.version_info[:2] >= (3, 8):
ext = "x86_64-linux-gnu" if res[0] == "64bit" else "x86-linux-gnu"
name = "primes.cpython-%d%d-%s.so" % (
sys.version_info[0], sys.version_info[1], ext)
else:
ext = "x86_64-linux-gnu" if res[0] == "64bit" else "x86-linux-gnu"
name = "primes.cpython-%d%dm-%s.so" % (
Expand Down

0 comments on commit 5348bf3

Please sign in to comment.