mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
f05dfae0f3
It use the notion of Head/Anchor moving the selection normally move both the head and the anchor. It is possible to mot move the anchor, for example by pressing Shift. Everything in between the head and the anchor (head and anchor included) is in a "soft-selection" marked with the 'jupyter-soft-selection' class in CSS. This then remove completely the notion of marked cell, and thus disallow discontinuous selection. Unlike previous implementation the used a thick left border, this use background gradient with 2 stops at the same position to archived the same visual effect without the gap in between left border in between contiguous cells. For compatibility with previous versions, a few choices have been made. An extra multi-selected class is added to the body when multiple cells are selected. This allow to toggle the background to a soft blue indicating selection. And the Head of the selection is still called the "selected" cell. The on_focus event have been reworked as a click-let-click-release-outside of codemirror was putting the notebook in undefined state with multiple selected cells, and the head in edit mode. Finally Travis now test on edge group, to get faster, which can be removed in a few weeks as the all infrastructure of Travis will move on Google Cloud.
37 lines
947 B
YAML
37 lines
947 B
YAML
# http://travis-ci.org/#!/ipython/ipython
|
|
language: python
|
|
group: edge
|
|
cache:
|
|
directories:
|
|
- ~/.cache/bower
|
|
python:
|
|
- 3.5
|
|
- 2.7
|
|
sudo: false
|
|
env:
|
|
global:
|
|
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
|
|
matrix:
|
|
- GROUP=python
|
|
- GROUP=js/base
|
|
- GROUP=js/notebook
|
|
- GROUP=js/services
|
|
- GROUP=js/tree
|
|
before_install:
|
|
- 'if [[ $GROUP == js* ]]; then npm install -g casperjs; fi'
|
|
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
|
install:
|
|
- pip install -f travis-wheels/wheelhouse --pre file://$PWD#egg=notebook[test] coveralls
|
|
script:
|
|
- 'if [[ $GROUP == js* ]]; then python -m notebook.jstest ${GROUP:3}; fi'
|
|
- 'if [[ $GROUP == python ]]; then nosetests --with-coverage --cover-package=notebook notebook; fi'
|
|
matrix:
|
|
include:
|
|
- python: 3.3
|
|
env: GROUP=python
|
|
- python: 3.4
|
|
env: GROUP=python
|
|
|
|
after_success:
|
|
- coveralls
|