/
.travis.yml
117 lines (107 loc) · 2.62 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
language: cpp
os: linux
dist: xenial
services: docker
jobs:
include:
- env: DOCKERFILE="debian-bullseye"
- env: DOCKERFILE="ubuntu-jammy"
dist: focal # Need a newer docker host for Jammy guest
- env: DOCKERFILE="ubuntu-focal"
install:
- if [ -n "$DOCKERFILE" ]; then
./script/docker-build.sh "$DOCKERFILE";
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update;
brew tap homebrew/science;
brew install autoconf-archive openblas maxima sdl2 libtool ompl;
brew install https://raw.github.com/dartsim/homebrew-dart/master/Formula/fcl.rb;
fi
script:
- if [ -n "$DOCKERFILE" ]; then
./script/docker-make.sh "$DOCKERFILE";
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
autoreconf -i &&
./configure &&
make -k -j $JOBS &&
make check;
fi
branches:
only:
- master
- main
- /^feature\/.*/
- /^bugfix\/.*/
## PRIOR CONFIGS
#
# jobs:
# include:
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="debian-stretch" JOBS=4
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="ubuntu-xenial" JOBS=4
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="ubuntu-bionic" JOBS=4
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="debian-sid" JOBS=4
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="debian-jessie" JOBS=4
# - os: linux
# sudo: required
# services:
# - docker
# env: DOCKERFILE="ubuntu-trusty" JOBS=4
# - os: osx
# compiler: clang
# env: CPPFLAGS=-I/usr/local/opt/openblas/include JOBS=2
# cache:
# directories:
# - /usr/local
# - os: linux
# dist: trusty
# sudo: required
# compiler: gcc
# env: JOBS=4
# notifications:
# slack:
# secure: UsjxGKXWmNW+6nt0ZDwU3MOEFXf69Paj8gYUpTB/DLrgC9d7LtzvYYmSDitc6XFMVB3RjodhIcD3+Kayz8+SFu/fsRBPqwT19B7e0ThmGY/DHr1xN8A3s/OmHAK+Pybvj3DEUDHhoiqUzKftlxHpUhRXJyxBo9r+CYb+XDnJfQs=
#cache:
#apt: true
#directories:
#- /usr/local
#before_install:
#- sudo docker pull ubuntu:xenial
#- docker ps -a
# addons:
# apt:
# packages:
# - libboost-all-dev
# - gfortran
# - automake
# - autoconf
# - autoconf-archive
# - autotools-dev
# - libblas-dev
# - liblapack-dev
# - libsdl2-dev
# - libompl-dev
# - coinor-libclp-dev
# - libglpk-dev
# - libav-tools
# - doxygen
# - groff