This repository was archived by the owner on Dec 8, 2024. It is now read-only.
File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ language: python
3
3
sudo : required
4
4
dist : trusty
5
5
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
+
6
17
python :
7
18
- " 2.7"
8
19
- " 3.4"
@@ -15,15 +26,23 @@ before_install:
15
26
install :
16
27
- sudo apt-get install -qq gcc gfortran libblas-dev liblapack-dev
17
28
- sudo apt-get install -qq gcc-4.8 gfortran-4.8
18
-
19
29
- |
20
30
if [ ${TRAVIS_PYTHON_VERSION:0:1} = 3 ]; then
21
31
sudo apt-get install python3-numpy
32
+ python3 setup.py build
22
33
python3 setup.py install
34
+ pip3 install sphinx
35
+ pip3 install sphinx-rtd-theme
36
+ cd ${TRAVIS_BUILD_DIR}/docs
37
+ make html
23
38
elif [ ${TRAVIS_PYTHON_VERSION} = "2.7" ]; then
24
39
sudo apt-get install python-numpy
40
+ python2 setup.py build
25
41
python2 setup.py install
26
-
42
+ pip2 install sphinx
43
+ pip2 install sphinx-rtd-theme
44
+ cd ${TRAVIS_BUILD_DIR}/docs
45
+ make html
27
46
else
28
47
echo "ERROR: Unknown Python version."
29
48
fi
@@ -34,3 +53,6 @@ before_script:
34
53
35
54
script :
36
55
- nosetests -v
56
+
57
+ notifications :
58
+ email : false
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Current list of contributors:
20
20
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
21
22
22
- Anders S. Christensen (University of Basel)
23
- - Felix Faber (University of Basel)
23
+ - Felix A. Faber (University of Basel)
24
24
- Bing Huang (University of Basel)
25
25
- Lars A. Bratholm (University of Copenhagen)
26
26
- Alexandre Tkatchenko (University of Luxembourg)
You can’t perform that action at this time.
0 commit comments