forked from RoboCup-SSL/grSim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
46 lines (42 loc) · 1.02 KB
/
shippable.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
language: none
compiler:
- gcc
env:
global:
- GRSIM_WS=$HOME/grsim_ws
matrix:
- UBUNTU_DISTRO="trusty"
- UBUNTU_DISTRO="xenial"
build:
pre_ci_boot:
image_name: ubuntu
image_tag: ${UBUNTU_DISTRO}
pull: true
ci:
- env # debug
# OS level dependencies
- sudo apt-get update -qq
# libboost-dev is for vartypes
- sudo apt-get install -qq -y git build-essential cmake libqt4-dev libgl1-mesa-dev libglu1-mesa-dev libprotobuf-dev protobuf-compiler libode-dev libboost-dev
- mkdir -p $GRSIM_WS
- ln -s $SHIPPABLE_BUILD_DIR $GRSIM_WS/grSim
# Compile vartypes
- cd $GRSIM_WS
- git clone https://github.com/szi/vartypes.git
- cd vartypes
- mkdir build && cd build
- cmake ..
- make
- sudo make install
# compile grSim
- cd $GRSIM_WS/grSim
- mkdir build && cd build
- cmake ..
- make
- sudo make install
integrations:
notifications:
- integrationName: email
type: email
on_success: change
on_failure: always