forked from LSSTDESC/CLMM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 1001 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
42
language: python
cache: pip
python:
- "3.6"
install:
- sudo apt-get update
# Install the dependencies and the package:
- pip install -r requirements.txt
- python setup.py install
# Now get set up to run jupyter notebooks:
#- sudo apt-get install texlive-latex-recommended
#- sudo apt-get install texlive-latex-extra
#- sudo apt-get install texlive-fonts-recommended
#- sudo apt-get install chktex
#- sudo apt-get install dvipng
#- pip install --upgrade jupyter
#- pip install nbconvert
# Finally get set up to build the docs:
- pip install sphinx==2.1.2
- pip install sphinx_rtd_theme
# Other dependencies here: # This is done through requirements.txt
#- pip install pyccl
#- pip install astropy
#- pip install scipy
#- pip install colossus==1.2.5
#- pip install matplotlib
script:
# Run the unit tests:
- py.test --ignore=tests/crypt/
# Run the docs:
- sphinx-quickstart -a "travis" -p clmm -v 0.0.1 --ext-autodoc -q
- make -C docs/ html