Skip to content

Commit

Permalink
Added doxygen support and automatic doxygen builds using Travis (#33)
Browse files Browse the repository at this point in the history
* added updated travis

* updated travis

* updated doxyfile

* testing

* small tweak

* small fix

* using xenial instead

* pull from source

* fixed travis

* updated dependencies

* trying things

* updated

* updated

* updated

* updated

* trying this

* preparing for merge

* added condition on deploy
  • Loading branch information
jacobaustin123 committed May 19, 2020
1 parent 7cc889d commit e95d6bf
Show file tree
Hide file tree
Showing 2 changed files with 2,592 additions and 5 deletions.
43 changes: 38 additions & 5 deletions .travis.yml
Expand Up @@ -8,11 +8,17 @@ sudo: required

# Build Job Matrix

stages:
- test
- name: deploy
if: branch = master

jobs:
include:

# Valgrind
- os: linux
- stage: test
os: linux
compiler: gcc
addons:
apt:
Expand All @@ -27,7 +33,8 @@ jobs:
- VALGRIND="ON"

# Coveralls
- os: linux
- stage: test
os: linux
compiler: gcc
addons:
apt:
Expand Down Expand Up @@ -55,7 +62,8 @@ jobs:

# Linux/GCC>=5

- os: linux
- stage: test
os: linux
compiler: gcc
env:
- CXX_COMPILER="g++-7"
Expand All @@ -79,7 +87,8 @@ jobs:
'libopenblas-dev', 'liblapack-dev',
'libarpack2-dev']

- os: linux
- stage: test
os: linux
compiler: gcc
env:
- CXX_COMPILER="g++-9"
Expand All @@ -91,8 +100,32 @@ jobs:
'libopenblas-dev', 'liblapack-dev',
'libarpack2-dev']

# Build Script
- stage: deploy
dist: bionic
os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-9', 'libstdc++6', 'build-essential']

script:
- wget http://doxygen.nl/files/doxygen-1.8.18.linux.bin.tar.gz
- tar -xvf doxygen-1.8.18.linux.bin.tar.gz
- doxygen-1.8.18/bin/doxygen -v
- doxygen-1.8.18/bin/doxygen docs/doxygen/Doxyfile
- rm -r doxygen-1.8.18 doxygen-1.8.18.linux.bin.tar.gz

deploy:
provider: pages
skip_cleanup: true
local_dir: docs/doxygen/html
github_token: $GH_PAGES_TOKEN
target_branch: gh-pages
on:
branch: master

# Build Script
script:

# set CXX to correct compiler
Expand Down

0 comments on commit e95d6bf

Please sign in to comment.