forked from acados/acados
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
103 lines (89 loc) · 3.66 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
language: c
env:
global:
- BLASFEO_TARGET=X64_INTEL_HASWELL
- HPIPM_TARGET=AVX
- ACADOS_UNIT_TESTS="ON"
- ACADOS_EXAMPLES="ON"
- ACADOS_WITH_QPOASES="ON"
- ACADOS_LINT="OFF"
- TEMPLATE_PYTHON="OFF"
- TEMPLATE_MATLAB="OFF"
- ACADOS_MATLAB="OFF"
- ACADOS_OCTAVE="OFF"
# TODO(oj): can we recover / remove these?!
# - secure: "YNhdXD3zhKsQeLVXHiZ3U6S1ERm+AHeUd7402ZHkxoIEefgVyvSy41XIPlgl5FKHq9PW8ecVktteFJldv7DLdXyK3mmKiyFmQWbtJabC4CGhXZ8eGWq95Hak1yW+t3qxmXRD/XDI7baPXryKopyX5epRFnpp2pB5Dmi1JVkJRXhhDtwsOAbolhdWrQ8SGq1wxejzjQa5XqKIDknZy6DTTUmZZYalmY8G3ETBEj2wamOiny6D2xQZQi1hOaRCTPLzSfvZIn3k9oT1kZ3gnI9e/Scg36EMIRlpkt0jUyNSB0IUv/RZdNFFAmn2xHr/sxAGtuyzYK9D4pZI0mc7WvXV3DpEyjbDCGA4RWhblOYFEfcDkqsTBQZ53zLCsx3MGcw2VOZ07FKtrI6JC2Z400UTFXDglpsc8e2MNZOUctkjUoMCn4GpbyZoY5csaUQrvylldZv7F/pYjoSHqcRI6ytq0kVhrXn4A7oYeQcIqdhvq9lf5vtmP68PUp/bBTXZkiHAhf5fMBTAMs9f/VRJ++JH2yu3zOM8VXa40xWSmszFeHlXx4xQrPrI5o7qGBxYGU0GdvJNYDsqAfqKc1bXl2ULQw3UHX2K7XPjUD2/n/W2JCVnTsX3xfEFoHFP4/pxH4G3l7rb82D803SQ3U7++2RATj02ZN4LBdTq9nnqjksC224="
# - secure: "W8Z9V5SCq19cis+UpX3XPv8BPXpZeQmsDVzkGRdbAS3rd5rkBBIGHFJxEZLtoZtcbEFZkjBEZVZWlelUXwuDWDUyXfsE0HgidGfyLtHh+a86KsjNbmkG7tCAJkVWET0DKttVkzlDrNjqextrEIVCN1NsFC6xuCu1n9ZL9W6wPBB8o0P8Sa7Lu/pO2rm2nEP7dJG4bN18PxxXx/iK7zaEHiu9mVVQ9CXExa9E0Sy0uYdV0cAetb8Th+jJqCEtvi0gXEdhmqhecDPVLaP67Mkc32MTE4tDCyGXeJW/8B5ia8QwuKAFRhTufSgJfIULfe652abRWm26HgmWNr93/GU9MkmPdveBRLUNft74UrnLksnGVk3o5XBczK606dCJI5aejheyHIjNMED/z1NgYfdTtKy83hQxIbsbGg0/plrtGzAS0limsO0i8lIzYDiR/enikioRKZdhBe6m4lJhyObxTXps8tDG2yNtbk/sV9LUyNrk8w9JIdb/YEuDysHi4LrukZmRxazYhhPoISBHzEvxpBsnIPuvMmQqZFuxGQNc1Sms9qMCvbSBGDQzkSq5RQ0ICDgkD7ecm78cs7JPV87lZgZrYjLGjs0cS31ELgVS++VY1gBIzW1TJVn8qC/rLOHgHuOlrI40IntxJaQ/gdkPljxIHg4H+znh4y4/YzkfXOQ="
os: linux
sudo: required
dist: xenial
group: travis_latest
addons:
apt:
sources:
- llvm-toolchain-precise-3.7
- ubuntu-toolchain-r-test
- deadsnakes
matrix:
include:
- name: MacOS Build
os: osx
osx_image: xcode9.4
# osx_image: xcode10.1
env:
- DEPLOY_NAME="osx-python"
- name: Linux Gcc6 - Octave interface
env:
- DEPLOY_NAME="linux octave gcc6"
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- ACADOS_OCTAVE="ON"
- ACADOS_EXAMPLES="OFF"
- ACADOS_UNIT_TESTS="OFF"
- name: Linux Gcc4.9 - Octave interface + coverage
env:
- DEPLOY_NAME="linux-octave-coverage-gcc49"
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- COVERAGE="lcov"
- ACADOS_OCTAVE="ON"
- name: Linux Clang
env:
- DEPLOY_NAME="linux-python-clang37"
- MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7"
- ACADOS_OCTAVE="OFF"
- ACADOS_UNIT_TESTS="ON"
# - ACADOS_EXAMPLES="OFF"
# - name: Linux Gcc5
# env:
# - DEPLOY_NAME="linux-python-gcc5"
# - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
cache:
ccache: true
directories:
before_install:
- eval "${MATRIX_EVAL}"
- SECTION='before_install'
- export SCRIPT_DIR="${TRAVIS_BUILD_DIR}/ci/${TRAVIS_OS_NAME}"
- export SHARED_SCRIPT_DIR="${TRAVIS_BUILD_DIR}/ci/shared"
- source "${SCRIPT_DIR}/dispatch.sh"
install:
- SECTION='install'
- source "${SCRIPT_DIR}/dispatch.sh"
script:
- SECTION='script'
- source "${SCRIPT_DIR}/dispatch.sh"
after_success:
- SECTION='after_success'
# - mkdir -p "${DEPLOY_FOLDER}"
- source "${SCRIPT_DIR}/dispatch.sh"
before_deploy:
- cd "${ACADOS_INSTALL_DIR}/lib/"
- tar -zcf acados-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.gz *
- cd ../..
deploy:
provider: releases
api_key: "${GITHUB_OAUTH_TOKEN}"
file_glob: true
file: "${ACADOS_INSTALL_DIR}/lib/acados-*"
skip_cleanup: true
on:
tags: true