-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
56 lines (46 loc) · 957 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: false
# Set Trusty as default build environment
dist: trusty
language:
- cpp
compiler:
- gcc
- clang
branches:
except:
- gh-pages
# Variables for Doxygen: where to find the source on and where to send
# the generated documentation.
env:
global:
- GH_REPO_NAME: 13CAD
- DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile
- GH_REPO_REF: github.com/rdimaio/13CAD.git
matrix:
include:
# works on Trusty
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
before_install:
- eval "${MATRIX_EVAL}"
addons:
apt:
packages:
- doxygen
- graphviz
script:
- cmake -DTESTING=ON .
- make
- ./Test_ModelLoader
# If successful, generate and deploy docs
after_success:
- cd $TRAVIS_BUILD_DIR
- chmod +x docs-gen-deploy.sh
- ./docs-gen-deploy.sh