-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
32 lines (32 loc) · 950 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
language: python
sudo: false
dist: trusty
addons:
firefox: latest
cache:
directories:
- $HOME/.npm
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.11.1-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start || true
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda install nodejs notebook
- pip install selenium cookiecutter
- pip install --pre jupyterlab
script:
- cd jupyter_wysiwyg
- jupyter labextension install .
- jupyter lab clean
- jupyter labextension link .
- python -m jupyterlab.selenium_check