forked from nopnop2002/esp-idf-ssd1306
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (35 loc) · 871 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Build and deploy doxygen documention to GitHub Pages
sudo: false
dist: focal
# Blacklist
branches:
only:
- main
# Environment variables
env:
global:
- GH_REPO_REF: github.com/wolffshots/esp32-ssd1306.git
# Install dependencies
before_install:
- sudo apt-get update
- sudo apt install -y graphviz
- sudo apt install -y libclang1-9 libclang1-9 libllvm9
- sudo apt install -y libclang-cpp9
- wget -c https://doxygen.nl/files/doxygen-1.9.1.linux.bin.tar.gz -O - | tar -xz
- cd doxygen-1.9.1/
- sudo make install
- cd ..
- rm -fr doxygen-1.9.1 # crucial so it doesn't document itself
# Build the docs
script:
- cd doc
- doxygen
# Deploy using Travis-CI/GitHub Pages integration support
deploy:
provider: pages
skip-cleanup: true
local-dir: doc/html
github-token: $TRAVIS_TOKEN
on:
branch: main
target-branch: gh-pages