forked from projectchrono/chrono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (54 loc) · 1.89 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
sudo: required
dist: trusty
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libirrlicht-dev
- libxxf86vm-dev
- freeglut3-dev
- gcc-4.9
- g++-4.9
coverity_scan:
project:
name: "projectchrono/chrono"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "mkdir build && cd build && cmake $CMAKE_EXTRA_FLAGS .."
build_command: "make -j 4"
branch_pattern: coverity_scan
compiler:
- gcc
env:
matrix:
- CMAKE_EXTRA_FLAGS="-DENABLE_MODULE_IRRLICHT=OFF -DENABLE_MODULE_FEA=OFF -DENABLE_MODULE_POSTPROCESS=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
- CMAKE_EXTRA_FLAGS="-DENABLE_MODULE_IRRLICHT=ON -DENABLE_MODULE_FEA=ON -DENABLE_MODULE_POSTPROCESS=ON"
- CMAKE_EXTRA_FLAGS="-DENABLE_MODULE_IRRLICHT=ON -DENABLE_MODULE_FEA=ON -DENABLE_MODULE_POSTPROCESS=ON -DENABLE_CXX11=ON"
- CMAKE_EXTRA_FLAGS="-DENABLE_MODULE_IRRLICHT=ON -DENABLE_MODULE_VEHICLE=ON -DENABLE_CXX11=ON"
global:
- secure: "YY9gwr3+p3xwX7Kaw+j51JKjYdNl2oNBIHOBfXwLzVCh6F+HVIQAT7C9nSFH4O+brImwhDe7q3BzI1m0hdU5L1nyKtPjG5eolRafkvZYIVjvNduh65OS1rIzV9JibmEjqE6I9x1ndYaW3Yc8tdR6TVr+M2UK907jrBClUdv1uwE="
before_install:
before_script:
- mkdir build && cd build
- if [ "$CXX" = "g++" ]; then CXX=g++-4.9 CC=gcc-4.9 cmake $CMAKE_EXTRA_FLAGS ..; fi
script:
- make -j 4
- make test
branches:
- except:
- feature/mpi
notifications:
recipients:
email:
on_success: change
on_failure: always
irc:
channels:
- chat.freenode.net#projectchrono
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
slack:
secure: BoCl/C15tcYX+55PQWPBEVCt/nw3j07qONSNecvuUEJ6UbyUKPbt+0HT0Vc2q6f7uphvvw8hRkTyk0XEGEcXAccmRJr9RsOCBvd3kQPdidooDBJ4dI1ZU9y2XcFUjB5VJuKzPgBYSfQSLbt1OVBNZ6ISw02UF1JNaC9DKtFRtSI=