-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 926 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
41
42
language: cpp
compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
- libgtest-dev
- cmake
before_script:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
script:
- doxygen Doxyfile
- cmake .
- cmake --build .
#- cmake --build . --target test
- cmake --build . --target package
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: docs/html
on:
branch: master
# provider: script
# skip_cleanup: true
# script:
# - curl -T editor-0.0.$TRAVIS_BUILD_NUMBER-Linux.deb -u artbataev:$BINTRAY_API_KEY "https://api.bintray.com/content/artbataev1/Otus_Assignments/Otus_Cpp_5/$TRAVIS_BUILD_NUMBER/editor-0.0.$TRAVIS_BUILD_NUMBER-Linux.deb;publish=1"
# on:
# branch: master