-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
47 lines (39 loc) · 921 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
37
38
39
40
41
42
43
44
45
46
dist: trusty
language:
- cpp
services:
- docker
os:
- linux
cache:
directories:
- $HOME/.ccache
compiler:
- gcc
env:
global:
- TRAVIS_CMAKE_GENERATOR="Unix Makefiles"
matrix:
- TRAVIS_BUILD_TYPE="Release" UBUNTU="xenial"
- TRAVIS_BUILD_TYPE="Debug" UBUNTU="xenial"
- TRAVIS_BUILD_TYPE="Release" UBUNTU="bionic"
- TRAVIS_BUILD_TYPE="Debug" UBUNTU="bionic"
before_scipt:
- docker pull ubuntu:$UBUNTU
script:
- >-
docker run -it \
-v $TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR \
-v $HOME/.ccache:$HOME/.ccache \
-w $TRAVIS_BUILD_DIR \
--env CC \
--env CXX \
--env TRAVIS_BUILD_DIR \
--env TRAVIS_BUILD_TYPE \
--env TRAVIS_CMAKE_GENERATOR \
ubuntu:$UBUNTU \
sh .ci/install_sdf-modelica.sh
notifications:
email:
- pegua1@gmail.com
- prashanthramadoss@gmail.com