19 Commits

Author SHA1 Message Date
Matthew Johnson
0eea988502 try following jupyterlab/jupyter-renderers#212 to fix travis 2019-10-15 23:07:31 +00:00
George Necula
858a411982
Add a separate build matrix entry for documentation testing. (#1495)
* Add a separate build matrix entry for documentation testing.

This way we parallelize the unit tests with the documentation tests.
2019-10-13 09:34:51 +02:00
George Necula
0fdf377343 Switched testing to using sphinx (part of the documentation generation) 2019-10-03 20:54:28 +02:00
George Necula
57e39ce938 Added support for testing Colab notebooks.
Testing is done by running "jupyter nbconvert --to notebook" and
then parsing the resulting notebook to look for errors.

One can declare expected errors, and the test will fail if those
are missing.

In the process of doig this, found and fixed a bug in the autodiff_cookbook
notebook.
2019-10-03 20:07:49 +02:00
Peter Hawkins
08013954a4 Use fastcache for LRU caches in JAX.
fastcache is both a faster cache implementation and is also thread-safe.
2019-07-22 17:24:10 -04:00
Matthew Johnson
9790890b7d reduce travis sampled test cases from 100 to 25
This change is just to speed up travis, which has ballooned from ~10
minutes to ~40 minutes.
2019-07-02 12:38:16 -07:00
Matthew Johnson
d622e78e82 fix broken travis path from previous commit 2019-06-07 16:00:11 -07:00
Skye Wanderman-Milne
04b0a911c3 pip wheels need to include the versionso use version '0.1.18' instead of 'latest'. 2019-06-07 15:13:49 -07:00
Matthew Johnson
6fe6cb0dbe try fixing travis by using only one pytest job 2019-05-24 19:02:40 -07:00
Matthew Johnson
2802c8f514 try pinning travis to jaxlib==0.1.15
Currently Travis CI builds are failing in a way we can't reproduce
locally.
2019-05-24 10:44:33 -07:00
Matthew Johnson
6c7dde59f5 move isclose test behind numpy version check 2019-04-30 09:19:48 -07:00
Peter Hawkins
a355da5983 Change Travis configuration to use pytest-xdist.
Since the Travis VM is dual core, run two tests in parallel.
2019-04-12 11:27:32 -04:00
Matthew Johnson
77f0fca7fa fix np.polyval complex128 bug in x64=True mode
Also enable JAX_ENABLE_X64=True tests on Travis to avoid future such
issues. (Internal tests catch things like this, but we don't run those
automatically.)
2019-01-05 09:47:06 -08:00
Matthew Johnson
13b8e21a1c squash conv grad bug introduced in 0d64aea
(loudly errored, didn't produce silently incorrect results!)
2018-12-14 18:40:50 -08:00
Matthew Johnson
6de5c8a698 add test-running instructions (fixes #67) 2018-12-14 16:48:08 -08:00
Matthew Johnson
9b645364c9 tests depend on scipy, tweaks 2018-12-13 16:40:03 -08:00
Matthew Johnson
5d7f356bf5 use 'dist: xenial' in travis.yml to get updated toolchain 2018-12-13 16:21:18 -08:00
Matthew Johnson
b7728d4239 add jaxlib install to travis file 2018-12-13 13:41:49 -08:00
Matthew Johnson
32f89e6c5a add initial travis ci file 2018-12-13 13:39:34 -08:00