forked from UofA-SPEAR/software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 883 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
#TODO: install ROS
git:
submodules: false
matrix:
include:
- name: "python linting"
language: python
python: 3.5
before_script:
- sudo apt-get update
- sudo apt-get install pep8
script:
- pep8 --ignore=E501 .
- name: "c++ linting"
language: c++
compiler: gcc
before_script:
- sudo apt-get update
- sudo apt-get install clang-format-3.9
script:
- "! find . -iname '*.h' -o -iname '*.cpp' |
xargs clang-format-3.9 -output-replacements-xml -style=Google |
grep -F \"</replacement>\""
- name: "build"
services:
- docker
before_script:
- docker pull ros:kinetic-robot
- docker build --rm -t spear-env - < spear-env.Dockerfile
script:
- docker build --rm -t spear-rover2 .
notifications:
email: false