forked from acado/acado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 1.25 KB
/
.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
language: cpp
os:
- linux
# - osx
compiler:
- gcc
- clang
env:
global:
- secure: "XVZ3qVCwiqySzDWl9prD1+CtNZDod8IWiBEdPGrRpJmcj+RUuBGqkveiTmOKOKKpSf2cJ+8ulconMcntrAQe98I0UE8g7pytkdITr0iSJL4uK/kLQY1aoP+Yy/6tgwFbbj66rvPBeAZl6nWoSEN+r/zNL9O6KGrE+JvYFEWoteQ="
- secure: "naQwKgv0Huuna+Jrs6WJdTHvyYv2TGsQlzgL0kUuFEibMNY/AcAJceWHXDSZx13oIvZLRgjixmvNuJYlcVVV4K9KmAYvUhggQobHhLgS50x1xe80c4TIvn6Zf12vK3H+byGwfF1KQVIN1i0O1JF/ltK9/PBCit1dfaRgu/nFdRM="
- secure: "PtNedKDEUJTlajoUnl93hWBSkTNS0351cPWjjPRNMxvucazkJBYDRIntZBhHxj6EQLg0YVoKzdytIh3pl/elviVTizf1SeoTuMfnbxmn5pTprr0fzWhgNqSGOloqFZOMQG7f0V8P+0G92yvmg031xQWe1DdvNTzdI/A7ySZVuA0="
- secure: "FfnzAaYlwfPp9CzLRTlJVOtm5B3xK9c3TKBIFhRTDulXms+hgSbaxJFtIYTIlI+BSArkWS9FddAy8ny72fr26wauA/F1MD4pFJPyHqb5rDO1t1Ci3WiY6nR8U7F79lMD1MvPvMMozwGGbs7piTtLk0kYf5VrpTeMFk29BJKJoFY="
before_install:
# Install necessary packages from apt-get
- "./misc/travis_before_install.sh"
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DACADO_WITH_TESTING=ON ..
- make
- make test
after_success:
# Deploy the source code
- cd ..
- "./misc/deploy_code.sh"
# Build the documentation and upload it to SF
- "./misc/publish_html.sh"
notifications:
recipients:
email:
on_failure: always