forked from Blizzard/s2client-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 801 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
sudo: true
language: cpp
compiler: gcc
dist: trusty
branches:
only:
- master
- /blizzard_internal.*/
except:
- gh-pages
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # For C++14
- sudo apt-get -qq update
install:
- sudo apt-get install -y g++-5
- sudo apt-get install doxygen
- sudo apt-get install doxygen-doc
- sudo apt-get install doxygen-latex
- sudo apt-get install doxygen-gui
- sudo apt-get install graphviz
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
script:
- mkdir build
- cd build
- cmake ../
- make
after_success:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd $TRAVIS_BUILD_DIR && ./generate_and_deploy_doxygen.sh'