Ver código fonte

Added Github Pages Deployment

Adam Kelly 5 anos atrás
pai
commit
d988e66faf
3 arquivos alterados com 18 adições e 2 exclusões
  1. 13 1
      .travis.yml
  2. 3 0
      README.rst
  3. 2 1
      requirements.txt

+ 13 - 1
.travis.yml

@@ -26,4 +26,16 @@ install:
   - pip3 install -e .
 
 script:
-  - python3 setup.py test
+  - python3 setup.py test
+
+after_success:
+  - make html
+
+deploy:
+  provider: pages
+  skip-cleanup: true
+  github-token: $GITHUB_TOKEN  # Set in travis-ci.org dashboard, marked secure
+  keep-history: true
+  local-dir: build/html
+  on:
+    branch: master

+ 3 - 0
README.rst

@@ -1,6 +1,9 @@
 QCGPU
 =====
 
+.. image:: https://img.shields.io/travis/QCGPU/qcgpu.svg?style=for-the-badge   
+   :alt: Travis (.org)   
+   :target: https://travis-ci.org/QCGPU/qcgpu
 .. image:: https://img.shields.io/pypi/v/qcgpu.svg?style=for-the-badge
    :target: https://pypi.python.org/pypi/qcgpu
    :alt: PyPi Version

+ 2 - 1
requirements.txt

@@ -2,4 +2,5 @@ Mako==1.0.7
 numpy==1.15.2
 pybind11==2.2.4
 pyopencl==2018.2
-scipy==1.1.0
+scipy==1.1.0
+Sphinx==1.8.1