Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (70 sloc) 3.12 KB
language: c
env:
global:
- CASADIPATH="${HOME}/casadi"
- ACADOS_INSTALL_DIR="${HOME}/acados"
- DEPLOY_FOLDER="${HOME}/deploy"
- 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: trusty
addons:
apt:
sources:
- llvm-toolchain-precise-3.7
- ubuntu-toolchain-r-test
- deadsnakes
matrix:
include:
- name: MacOS Python Interface Build
os: osx
osx_image: xcode9.4
env:
- DEPLOY_NAME="osx-python"
- name: Linux Python Interface Gcc6
env:
- DEPLOY_NAME="linux-python-gcc6"
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- name: Linux Python Interface Gcc5
env:
- DEPLOY_NAME="linux-python-gcc5"
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- name: Linux Python Interface Gcc4.9 and Matlab
env:
- DEPLOY_NAME="linux-python-matlab-gcc49"
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- WITH_MATLAB="YES"
- COVERAGE="lcov"
- name: Linux Python Interface Clang
env:
- DEPLOY_NAME="linux-python-clang37"
- MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7"
cache:
ccache: true
directories:
- "${CASADIPATH}"
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"
deploy:
provider: releases
api_key: "${GITHUB_OAUTH_TOKEN}"
file_glob: true
file: "${DEPLOY_FOLDER}/*"
skip_cleanup: true
on:
tags: true