Commit Graph

60 Commits

Author SHA1 Message Date
Matthias Bussonnier
7d211d431e try to fix test 2018-09-26 11:01:32 -07:00
Matthias Bussonnier
37f9a41948 Drop 2.7 2018-09-16 23:04:10 +02:00
Matthias Bussonnier
0463ca9b19 start testing on 3.7 2018-05-17 10:52:47 -07:00
Ashley Teoh
ad59f707db formatting 2018-04-03 19:05:45 -04:00
Ashley Teoh
87f93044c6 only check links if build is triggered by cron 2018-04-03 18:57:31 -04:00
Min RK
a9d2c17f74 install test dependencies with —pre
to get more warning about upcoming releases that might cause breakages
2018-03-05 23:11:23 +01:00
Thomas Kluyver
aa9c977880 Testing with Selenium & Sauce labs (#3321)
* Initial selenium test

* Try configuring Travis to run selenium tests on Sauce

* Encryption key needs to be for my account, not jupyter

* Install selenium on Travis

* Get more data from server info file

* Set cwd when launching notebook server

Will this help on Travis?

* Use JUPYTER_TEST_BROWSER=chrome to test with Chrome

* Debugging test

* Separate fixtures into conftest.py

* Try with --Cls.a=b option syntax

* Try using sauce labs directly, not through Travis proxy

* Back to using proxy, with http instead of https

Idea from https://stackoverflow.com/questions/48236104/ssl-errors-using-
sauce-labs-in-travis-ci-with-selenium-webriver-tests-django-pr

* Specify browserName in desired_capabilities for Sauce

* Try connecting to Sauce for only some jobs in matrix

* Exclude selenium tests from regular test run

* Remove redundant JS test for dashboard navigation (converted to Selenium)

* Re-enable other tests

* Exclude selenium tests on Appveyor

* Later browser versions are available on Windows

* Try running tests with Firefox 57 instead of 58

* Try running with local Firefox on Travis

* Install geckodriver for Selenium tests

* Untar the right version of geckodriver

* Try stepping back one version of Firefox again
2018-02-13 09:01:00 -08:00
Thomas Kluyver
bdd62b3c58
Merge pull request #3223 from takluyver/unpin-travis-ipykernel
Unpin ipykernel version on Travis
2018-02-02 11:46:07 +00:00
Matthias Bussonnier
3275f77fd4 Make sure repository does not contain symlink 2018-01-17 07:39:54 -08:00
Thomas Kluyver
658acd7978 Unpin ipykernel version on Travis
Closes gh-3129
2018-01-17 11:03:04 +00:00
Thomas Kluyver
56677f94b1 Ugh, yaml 2017-12-13 18:05:26 +00:00
Thomas Kluyver
95acc55ac1 Pin ipykernel to older version on Py 2 2017-12-13 18:04:37 +00:00
Thomas Kluyver
035af348b9 Is it worth caching pip on Travis? 2017-12-13 17:57:57 +00:00
Thomas Kluyver
4e9d40a775 List kernelspecs for debugging issue 2017-12-13 17:48:44 +00:00
Thomas Kluyver
1ec12f7215 Test Python 3.6 on Travis, drop 3.3 2017-09-20 10:37:38 +01:00
Vidar Tonaas Fauske
522fcf403c Add nbval to docs tests 2017-09-01 13:03:54 +02:00
Jiaqi Liu
44471d97f4 docs only run in python3 2017-08-25 14:02:13 -07:00
Jiaqi Liu
3a23a69d97 rename doc group to docs 2017-08-25 13:22:25 -07:00
Jiaqi Liu
df76c6e2f5 forgot -r 2017-08-25 13:00:14 -07:00
Jiaqi Liu
708883521a pip install doc-requirements in travis 2017-08-25 12:42:06 -07:00
Jiaqi Liu
95bd9df2af add to doc requirements.txt file 2017-08-25 12:21:27 -07:00
Michael Pacer
8352778845 Add sudo:required so it will install pandoc 2017-03-13 14:46:04 -07:00
Michael Pacer
fc4301a45c Don't use apt's pandoc, build from source
Apt's pandoc is out of date and shouldn't be used inside travis for jupyter tests. Many APIs have changed, including the intermediate JSON structure.
2017-03-13 14:38:03 -07:00
Ioannis Papadopoulos
6c4efe8f45 add pandoc to travis 2017-03-13 21:57:29 +01:00
Paul Ivanov
f28382da75 run the slowest tests first on Travis
This should further help with the total elapsed time for running the
test suite on Travis CI.
2017-01-20 18:49:56 -08:00
Min RK
3fb26ad4da remove nonexistent lint test 2017-01-13 13:43:26 +01:00
Min RK
f488e89527 update casper, phantom on travis 2017-01-06 16:55:43 +01:00
Jason Grout
b3936cb3b8 Polyfill promises from the page template.
Doing this from webpack as a plugin caused https://github.com/ipython/ipywidgets/issues/844 (and probably other issues we haven’t noticed), and also forced us to use the es6-promise Promise object instead of the native one.

Fixes https://github.com/ipython/ipywidgets/issues/844
2016-12-07 11:43:26 -08:00
Min RK
f0352f6ebc remove npm steps from travis
pip install runs these steps
2016-05-08 16:33:15 +01:00
Min RK
2ced11ff9c run js before css 2016-05-08 16:33:15 +01:00
Matthias Bussonnier
ab85f165c7 Create shortcut editor for the notebook
1) finish the step allowing the use of es6

  - this include some tweak to web pack configuration to speed up
    recompile in watch mode (in particular cache sourcemaps).
  - enable eslint (error only), on obvious mistakes.
  - setup babel to compile to es5 as a target.

2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.

3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.

The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
2016-04-21 18:00:17 +02:00
Matthias Bussonnier
1096410fcf Try es6 and add a few features for shortcut editor. 2016-04-14 16:49:35 +02:00
Min RK
ad4fc06dae pin casper to 1.1.0-beta5
to see if this fixes the shutdown test failure
2016-04-13 15:55:51 +02:00
Min RK
2636fd7f4f retry js tests on travis
This is a lazy thing to do because intermittently failing tests are often actual bugs
(usually in the tests themselves).
But if we are just going to kick Travis to re-run when this happens,
we might as well let Travis do it automatically.
2016-03-16 12:10:13 +01:00
Jonathan Frederic
a236926743 Upgrade to node 5.6 2016-02-22 14:15:38 -08:00
Jonathan Frederic
638c9d2a4b Update ancient node and npm 2016-02-22 07:30:56 -08:00
Carol Willing
a2feb35f14 Remove fast finish and replace coveralls with codecov 2016-02-12 16:21:32 -08:00
Carol Willing
0066bdf365 Update coverage and coveralls 2016-02-12 14:21:06 -08:00
Carol Willing
90a5baef41 Temporarily removing nosetests since they seem to cause the timeouts 2016-02-12 13:28:49 -08:00
Carol Willing
e9eeaf6641 Update matix combinations 2016-02-12 13:06:19 -08:00
Carol Willing
a800e5ce08 Remove edge and default python 2016-02-12 12:51:23 -08:00
Carol Willing
6db1ea75b2 Upgrade nose before installing travis-wheels 2016-02-12 11:59:09 -08:00
Carol Willing
0d6e25113a Change Python 3.5 to 3.5.1 for Travis 2016-02-12 11:34:38 -08:00
Carol Willing
0a3551de0f Upgrade pip as the first preinstall step 2016-02-12 09:49:27 -08:00
Thomas Kluyver
0c099ee9cc Run nosetests with verbose flag on Travis
Hopefully stops tests from hanging after completion - seems to work on
Jenkins.
2016-02-05 13:37:09 +00:00
Min RK
1f9feec428 don't install prereleases on Travis 2016-01-28 19:18:01 +01:00
Matthias Bussonnier
f05dfae0f3 Rework multiple selections to be continuous
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.
2015-12-02 14:15:09 +01:00
Min RK
84f14c0ca0 shrink travis matrix 2015-09-30 16:06:15 +02:00
John Kirkham
668812ad85 .travis.yml: Test on Python 3.3, as well. 2015-09-10 16:56:40 -04:00
Min RK
2b5ba10ce9 remove requirements.txt
and update README installation accordingly
2015-07-23 09:31:19 -07:00