forked from jupyter-widgets-contrib/ipysheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 865 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
language: c
os:
- linux
addons:
chrome: beta
env:
matrix:
- PYTHON_VERSION=3.7
- PYTHON_VERSION=3.8
before_install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda-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 create -q -n test-environment python=$PYTHON_VERSION ipywidgets
- source activate test-environment
- conda install -c conda-forge pytest pytest-cov nodejs pscript flake8 pandas numpy jupyterlab
- pip install coveralls
install:
- pip install -e .
- jupyter labextension link js
script:
- flake8 ipysheet
- py.test --cov-report= --cov=ipysheet
- (cd js && npm run test)
after_success:
- coveralls