Skip to content

Commit

Permalink
fix circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 23, 2017
1 parent 42626a5 commit 645575f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ README
:target: https://ci.appveyor.com/project/sdpython/ensae-projects
:alt: Build Status Windows

.. image:: https://circleci.com/gh/sdpython/ensae_projects/tree/master.svg?style=svg
:target: https://circleci.com/gh/sdpython/ensae_projects/tree/master

.. image:: https://badge.fury.io/py/ensae_projects.svg
:target: http://badge.fury.io/py/ensae_projects

Expand Down
3 changes: 3 additions & 0 deletions _doc/sphinxdoc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ pip ::
:target: https://ci.appveyor.com/project/sdpython/ensae-projects
:alt: Build Status Windows

.. image:: https://circleci.com/gh/sdpython/ensae_projects/tree/master.svg?style=svg
:target: https://circleci.com/gh/sdpython/ensae_projects/tree/master

.. image:: https://badge.fury.io/py/ensae_projects.svg
:target: http://badge.fury.io/py/ensae_projects

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ unify
shapely
wheel
xgboost
xlrd
3 changes: 2 additions & 1 deletion src/ensae_projects/automation/notebook_test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from pyquickhelper.loghelper import noLOG
from pyquickhelper.ipythonhelper.notebook_helper import install_python_kernel_for_unittest
from pyquickhelper.ipythonhelper import execute_notebook_list
from pyquickhelper.pycode import is_travis_or_appveyor
import pyensae


Expand Down Expand Up @@ -146,7 +147,7 @@ def _valid_cell(cell):
return False
return True

kernel_name = None if "travis" in sys.executable else install_python_kernel_for_unittest(
kernel_name = None if is_travis_or_appveyor() else install_python_kernel_for_unittest(
"ensae_projects")
addpaths = get_additional_paths()
if filter:
Expand Down

0 comments on commit 645575f

Please sign in to comment.