-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
41 lines (34 loc) · 914 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# http://travis-ci.org/#!/ipython/ipython
language: python
cache:
directories:
- $HOME/.cache/bower
- $HOME/.cache/pip
python:
- 3.9
env:
global:
- JUPYTER_TEST_BROWSER=firefox
- MOZ_HEADLESS=1
addons:
firefox: 72.0.2
before_install:
- pip install --upgrade pip
- pip install --upgrade setuptools wheel
- pip install --upgrade -r devRequirements.txt
- nvm install 12.14.1
- nvm use 12.14.1
- node --version
- npm --version
- npm upgrade -g npm
- npm install
- wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.26.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- git clone https://github.com/jupyter/notebook.git
- cd notebook && pip install --pre .[test] && cd ..
install:
- pip install .
script:
- py.test -sv nbsearch/tests