forked from ePSIC-DLS/epsic_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 830 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
language: python
python:
- "3.7"
before_script:
- pip install scikit-image==0.16.2
- pip install numpy==1.20.1
- pip install hyperspy
- pip install dask
- pip install pyxem
- pip install -e .
- pip install sphinx
- pip install sphinx_rtd_theme
- pip install pytest-cov
- pip install codecov
script:
- python ./epsic_tools/mib2hdfConvert/test_mib_dask_reader.py
- pytest --cov=epsic_tools
- cd docs
- make html
- touch _build/html/.nojekyll
after_success:
- bash <(curl -s https://codecov.io/bash)
- python ./epsic_tools/mib2hdfConvert/test_mib_dask_reader.py
- pytest --cov=epsic_tools
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: master
local_dir: docs/_build/html/