Skip to content

Commit da171a1

Browse files
authored
Merge pull request #1 from mkcor/setup-ci
Setup CI for report generation.
2 parents a91b7a0 + cdc928e commit da171a1

File tree

3 files changed

+45
-64
lines changed

3 files changed

+45
-64
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
#pickled files
24
*.pkl
35

@@ -74,7 +76,11 @@ docs/_build/
7476
target/
7577

7678
# Jupyter Notebook
77-
.ipynb_checkpoints
79+
**/*.ipynb_checkpoints/
80+
81+
# LaTeX
82+
**/*.aux
83+
**/*.out
7884

7985
# pyenv
8086
.python-version

.travis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
language: python
2+
python:
3+
# We don't actually use the Travis Python, but this keeps it organized.
4+
- "3.6"
5+
install:
6+
- sudo apt-get update
7+
# We do this conditionally because it saves us some downloading if the
8+
# version is the same.
9+
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
10+
- bash miniconda.sh -b -p $HOME/miniconda
11+
- export PATH="$HOME/miniconda/bin:$PATH"
12+
- hash -r
13+
- conda config --set always_yes yes --set changeps1 no
14+
- conda update -q conda
15+
# Useful for debugging any issues with conda
16+
- conda info -a
17+
18+
# Replace dep1 dep2 ... with your dependencies
19+
- cd rosi_py
20+
- conda env create -n test-environment -f environment.yml
21+
- source activate test-environment
22+
23+
# Install TeXLive to be able to run pdflatex
24+
- sudo apt-get install texlive-full
25+
26+
script:
27+
# Your test script goes here
28+
- jupyter nbconvert --to latex rosi_py.ipynb
29+
- pdflatex rosi_py.tex
30+
- source deactivate
31+
32+
deploy:
33+
provider: pages
34+
skip-cleanup: true
35+
github-token: $GITHUB_API_KEY # Set in travis-ci.org dashboard.
36+
keep-history: true
37+
on:
38+
branch: master

rosi_py/environment.yml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3,88 +3,25 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- appnope=0.1.0=py36_0
7-
- backports=1.0=py36_1
8-
- backports.functools_lru_cache=1.5=py36_0
96
- blas=1.1=openblas
10-
- bleach=2.1.3=py_0
11-
- ca-certificates=2018.1.18=0
12-
- certifi=2018.1.18=py36_0
13-
- cycler=0.10.0=py36_0
14-
- decorator=4.2.1=py36_0
15-
- entrypoints=0.2.3=py36_1
16-
- freetype=2.8.1=0
17-
- html5lib=1.0.1=py_0
18-
- icu=58.2=0
197
- ipykernel=4.8.2=py36_0
208
- ipython=6.2.1=py36_1
219
- ipython_genutils=0.2.0=py36_0
22-
- ipywidgets=7.1.2=py36_0
23-
- jedi=0.11.1=py36_0
2410
- jinja2=2.10=py36_0
25-
- jpeg=9b=2
26-
- jsonschema=2.6.0=py36_1
2711
- jupyter=1.0.0=py36_0
2812
- jupyter_client=5.2.3=py36_0
2913
- jupyter_console=5.2.0=py36_0
3014
- jupyter_core=4.4.0=py_0
31-
- kiwisolver=1.0.1=py36_1
32-
- libgfortran=3.0.0=0
33-
- libpng=1.6.34=0
34-
- libsodium=1.0.15=1
35-
- markupsafe=1.0=py36_0
3615
- matplotlib=2.2.0=py36_0
37-
- mistune=0.8.3=py_0
3816
- nbconvert=5.3.1=py_1
3917
- nbformat=4.4.0=py36_0
40-
- ncurses=5.9=10
4118
- notebook=5.4.0=py36_0
4219
- numpy=1.14.2=py36_blas_openblas_200
4320
- openblas=0.2.20=7
44-
- openssl=1.0.2n=0
45-
- pandas=0.22.0=py36_0
46-
- pandoc=2.1.2=0
47-
- pandocfilters=1.4.1=py36_0
48-
- parso=0.1.1=py_0
49-
- patsy=0.5.0=py36_0
50-
- pexpect=4.4.0=py36_0
51-
- pickleshare=0.7.4=py36_0
5221
- pip=9.0.1=py36_1
53-
- prompt_toolkit=1.0.15=py36_0
54-
- ptyprocess=0.5.2=py36_0
55-
- pygments=2.2.0=py36_0
56-
- pyparsing=2.2.0=py36_0
57-
- pyqt=5.6.0=py36_4
5822
- python=3.6.4=0
59-
- python-dateutil=2.6.1=py36_0
60-
- pytz=2018.3=py_0
61-
- pyzmq=17.0.0=py36_3
62-
- qt=5.6.2=h9e3eb04_4
63-
- qtconsole=4.3.1=py36_0
64-
- readline=7.0=0
6523
- scipy=1.0.0=py36_blas_openblas_201
6624
- seaborn=0.8.1=py36_0
67-
- send2trash=1.5.0=py_0
68-
- setuptools=38.5.2=py36_0
69-
- simplegeneric=0.8.1=py36_0
70-
- sip=4.18=py36_1
71-
- six=1.11.0=py36_1
72-
- sqlite=3.20.1=2
73-
- statsmodels=0.8.0=py36_0
74-
- terminado=0.8.1=py36_0
75-
- testpath=0.3.1=py36_0
76-
- tk=8.6.7=0
77-
- tornado=4.5.3=py36_0
78-
- traitlets=4.3.2=py36_0
79-
- wcwidth=0.1.7=py36_0
80-
- webencodings=0.5=py36_0
81-
- wheel=0.30.0=py36_2
82-
- widgetsnbextension=3.1.4=py36_0
83-
- xz=5.2.3=0
84-
- zeromq=4.2.3=2
85-
- zlib=1.2.11=0
8625
- pip:
8726
- cython==0.27.3
8827
- pystan==2.17.1.0
89-
prefix: /Users/itemgmt/anaconda2/envs/rosi_py
90-

0 commit comments

Comments
 (0)