[A] Added doc build

This commit is contained in:
seleznevae 2018-11-26 23:15:29 +03:00
parent 5115d40ad6
commit 25f6c8e1a9

View File

@ -1,20 +1,23 @@
language: C language: C
matrix: matrix:
include: include:
- os: linux - name: "Basic linux gcc"
os: linux
sudo: false sudo: false
compiler: gcc compiler: gcc
before_script: before_script:
- pip install --user cpp-coveralls - pip install --user cpp-coveralls
after_success: after_success:
- coveralls --build-root build --include src --include tests --gcov-options '\-lp' - coveralls --build-root build --include src --include tests --gcov-options '\-lp'
- os: linux - name: "Basic linux clang"
os: linux
sudo: required # to prevent fail of executables build with clang and sanitizers sudo: required # to prevent fail of executables build with clang and sanitizers
compiler: clang compiler: clang
env: CC=clang env: CC=clang
# Linux / GCC # Linux / GCC
- os: linux - name: "Linux gcc-4.9"
os: linux
sudo: false sudo: false
compiler: gcc compiler: gcc
env: env:
@ -25,7 +28,8 @@ matrix:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9'] packages: ['g++-4.9']
- os: linux - name: "Linux gcc-5"
os: linux
sudo: false sudo: false
compiler: gcc compiler: gcc
env: env:
@ -36,7 +40,8 @@ matrix:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-5'] packages: ['g++-5']
- os: linux - name: "Linux gcc-6"
os: linux
sudo: false sudo: false
compiler: gcc compiler: gcc
env: env:
@ -47,7 +52,8 @@ matrix:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6'] packages: ['g++-6']
- os: linux - name: "Linux gcc-7"
os: linux
sudo: required sudo: required
compiler: gcc compiler: gcc
env: env:
@ -58,7 +64,8 @@ matrix:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7'] packages: ['g++-7']
- os: linux - name: "Linux gcc-8"
os: linux
sudo: required sudo: required
compiler: gcc compiler: gcc
env: env:
@ -70,15 +77,18 @@ matrix:
packages: ['g++-8', 'cppcheck', 'doxygen'] packages: ['g++-8', 'cppcheck', 'doxygen']
# OSX / Clang # OSX / Clang
- os: osx - name: "OSX xcode7.3"
os: osx
osx_image: xcode7.3 osx_image: xcode7.3
env: CC=clang env: CC=clang
- os: osx - name: "OSX xcode8.3"
os: osx
osx_image: xcode8.3 osx_image: xcode8.3
env: CC=clang env: CC=clang
- os: osx - name: "OSX xcode9.3"
os: osx
osx_image: xcode9.3 osx_image: xcode9.3
env: CC=clang env: CC=clang
@ -209,7 +219,13 @@ script:
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/docs/html
github_token: $GITHUB_API_KEY
on:
branch: deploy-doxy