forked from lballabio/QuantLib-SWIG
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (31 loc) · 934 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
language: cpp
os: linux
dist: trusty
compiler: gcc
services: docker
env:
global:
- DOCKER_OPTS="--rm -ti -v ${TRAVIS_BUILD_DIR}:/build -w /build"
matrix:
# Python 2.7
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:python2
BUILD_SCRIPT="python2.build"
# Python 3
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:python3
BUILD_SCRIPT="python3.build"
# Java
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:java
BUILD_SCRIPT="java.build"
# C#
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:csharp
BUILD_SCRIPT="csharp.build"
# R
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:r
BUILD_SCRIPT="r.build"
# Scala
- DOCKER_IMAGE=lballabio/quantlib-swig-devenv:scala
BUILD_SCRIPT="scala.build"
before_install:
- docker pull ${DOCKER_IMAGE}
script:
- travis_wait 30 sleep infinity & docker run ${DOCKER_OPTS} ${DOCKER_IMAGE} ./.travis/${BUILD_SCRIPT}