Commit Graph

68 Commits

Author SHA1 Message Date
Abhinav Sagar
bc920e9879 .travis.yml: The 'sudo' tag is now deprecated in Travis CI (#4654) 2019-06-07 11:16:09 +01:00
Min RK
3d94b517e8 require Python 3.5
3.4 doesn't have isawaitable

remove unsupported combinations from test matrix
2019-03-06 13:09:21 +01:00
Min RK
d4e60d975d oops, no Python 2 on master 2019-03-05 14:36:30 +01:00
Min RK
71e185316b add test entries for tornado 4 2019-03-05 14:16:12 +01:00
Min RK
aa4ffe3f4b test with stable Python 3.7
instead of out-of-date dev version
2019-03-05 14:16:02 +01:00
Min RK
b1bd4e5983 pip freeze on tornado
for debugging test env
2019-03-05 12:27:53 +01:00
Thomas Kluyver
e2ba8280c6 Upgrade pytest for docs build as well 2019-01-09 09:45:35 +00:00
Thomas Kluyver
fc532aac6f Upgrade pytest on Travis
Avoid incompatibility with newer pytest-cov version
2019-01-08 17:10:34 +00:00
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