Skip to content

Commit

Permalink
simpler approach
Browse files Browse the repository at this point in the history
  • Loading branch information
smattis committed Jul 4, 2020
1 parent 344ccdc commit 84117b3
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ script:
- mpirun -n 2 nosetests
- pip uninstall -y mpi4py
- nosetests
- sphinx-apidoc -f -o doc bet
- cd doc/
- make html
- make html
- cd ..

# notification settings
notifications:
Expand All @@ -43,30 +48,15 @@ after_success:
- codecov

# Deploy docs
jobs:
include:
- stage: deploy
python: 3.6
services: xvfb
before_install:
- "export DISPLAY=:99.0"
- sudo apt-get install gfortran libblas-dev liblapack-dev mpich libmpich-dev
install:
- pip install matplotlib mpi4py nose codecov Sphinx sphinx_rtd_theme
- python setup.py install
script:
- sphinx-apidoc -f -o doc bet
- cd doc/
- make html
- make html
- cd ..
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep-history: false
on:
branch: master
local_dir: gh-pages/html
deploy:
provider: pages
skip_cleanup: true
skip_existing: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: false
local_dir: gh-pages/html
on:
branch: master



0 comments on commit 84117b3

Please sign in to comment.