File tree Expand file tree Collapse file tree 5 files changed +31
-8
lines changed
Expand file tree Collapse file tree 5 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 1+ language : generic
2+ os :
3+ - linux
4+ - osx
5+ env :
6+ matrix :
7+ - PYTHON_VERSION=3.5
8+ - PYTHON_VERSION=3.6
9+ - PYTHON_VERSION=3.7
10+ before_install :
11+ - if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get update; fi
12+ - if [[ $TRAVIS_OS_NAME == linux ]]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; fi
13+ - if [[ $TRAVIS_OS_NAME == osx ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
14+ - bash miniconda.sh -b -p $HOME/miniconda
15+ - export PATH="$HOME/miniconda/bin:$PATH"
16+ - hash -r
17+ - conda config --set always_yes yes --set changeps1 no
18+ - conda update -q conda
19+ - conda info -a
20+ - conda create -q -n test-environment python=$PYTHON_VERSION ipywidgets nodejs
21+ - source activate test-environment
22+ - conda install -c conda-forge flake8
23+ - if [[ $TRAVIS_OS_NAME == linux ]]; then conda install -c conda-forge jupyterlab; fi
24+ install :
25+ - pip install -e .
26+ - if [[ $TRAVIS_OS_NAME == linux && $PYTHON_VERSION != 2.7 ]]; then jupyter labextension install .; fi
27+ script :
28+ - flake8 ipycanvas --ignore=E501
Original file line number Diff line number Diff line change 33
44[ ![ Documentation] ( http://readthedocs.org/projects/ipycanvas/badge/?version=latest )] ( https://ipycanvas.readthedocs.io/en/latest/?badge=latest )
55[ ![ Binder] ( https://mybinder.org/badge_logo.svg )] ( https://mybinder.org/v2/gh/martinRenou/ipycanvas/stable?filepath=examples )
6+ [ ![ Build Status] ( https://travis-ci.org/martinRenou/ipycanvas.svg?branch=master )] ( https://travis-ci.org/martinRenou/ipycanvas )
67
78
89Interactive widgets library exposing the [ browser's Canvas API] ( https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API ) to Python. There are some API differences though:
Original file line number Diff line number Diff line change 11"""Binary module."""
2-
3- try :
4- from io import BytesIO as StringIO # python3
5- except :
6- from StringIO import StringIO # python2
7-
82import numpy as np
93
104
Original file line number Diff line number Diff line change 44# Copyright (c) Martin Renou
55# Distributed under the terms of the Modified BSD License.
66
7+
78def _jupyter_nbextension_paths ():
89 return [{
910 'section' : 'notebook' ,
Original file line number Diff line number Diff line change 2222name = 'ipycanvas'
2323
2424# Ensure a valid python version
25- ensure_python ('>=3.4 ' )
25+ ensure_python ('>=3.5 ' )
2626
2727# Get our version
2828version = get_version (pjoin (name , '_version.py' ))
7878 'License :: OSI Approved :: BSD License' ,
7979 'Programming Language :: Python' ,
8080 'Programming Language :: Python :: 3' ,
81- 'Programming Language :: Python :: 3.4' ,
8281 'Programming Language :: Python :: 3.5' ,
8382 'Programming Language :: Python :: 3.6' ,
8483 'Programming Language :: Python :: 3.7' ,
You can’t perform that action at this time.
0 commit comments