Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit 9f92769

Browse files
authored
Documentation (#10)
Changes to directory structure and .travis.yml and .nojekyll
1 parent 5a30684 commit 9f92769

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

.travis.yml

+24-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ language: python
33
sudo: required
44
dist: trusty
55

6+
deploy:
7+
provider: pages
8+
local_dir: ${TRAVIS_BUILD_DIR}/docs/build/html
9+
skip_cleanup: true
10+
repo: qmlcode/qmlcode.github.io
11+
target_branch: master
12+
github_token: ${GH_TOKEN} # Set in travis-ci.org dashboard
13+
on:
14+
branch: master
15+
condition: ${TRAVIS_PYTHON_VERSION} = "2.7"
16+
617
python:
718
- "2.7"
819
- "3.4"
@@ -15,15 +26,23 @@ before_install:
1526
install:
1627
- sudo apt-get install -qq gcc gfortran libblas-dev liblapack-dev
1728
- sudo apt-get install -qq gcc-4.8 gfortran-4.8
18-
1929
- |
2030
if [ ${TRAVIS_PYTHON_VERSION:0:1} = 3 ]; then
2131
sudo apt-get install python3-numpy
32+
python3 setup.py build
2233
python3 setup.py install
34+
pip3 install sphinx
35+
pip3 install sphinx-rtd-theme
36+
cd ${TRAVIS_BUILD_DIR}/docs
37+
make html
2338
elif [ ${TRAVIS_PYTHON_VERSION} = "2.7" ]; then
2439
sudo apt-get install python-numpy
40+
python2 setup.py build
2541
python2 setup.py install
26-
42+
pip2 install sphinx
43+
pip2 install sphinx-rtd-theme
44+
cd ${TRAVIS_BUILD_DIR}/docs
45+
make html
2746
else
2847
echo "ERROR: Unknown Python version."
2948
fi
@@ -34,3 +53,6 @@ before_script:
3453

3554
script:
3655
- nosetests -v
56+
57+
notifications:
58+
email: false

docs/build/html/.nojekyll

Whitespace-only changes.

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Current list of contributors:
2020
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2121

2222
- Anders S. Christensen (University of Basel)
23-
- Felix Faber (University of Basel)
23+
- Felix A. Faber (University of Basel)
2424
- Bing Huang (University of Basel)
2525
- Lars A. Bratholm (University of Copenhagen)
2626
- Alexandre Tkatchenko (University of Luxembourg)

0 commit comments

Comments
 (0)