forked from ev3rt-git/ev3rt-hrp2-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.59 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
compiler: gcc
before_install:
# - sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi
- sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y # -qq is for travis CI
- sudo apt-get update
- sudo apt-get install gcc-arm-embedded u-boot-tools libboost1.55-all-dev -y
before_script:
- ls -la
- git clone https://github.com/RoboticsBrno/RB-ev3rt-hrp2/
- cd RB-ev3rt-hrp2
- git submodule init
- git submodule update
- cd ..
- rm -rf RB-ev3rt-hrp2/sdk/*
- cp -rv common/ RB-ev3rt-hrp2/sdk/common/
- cp -rv workspace/ RB-ev3rt-hrp2/sdk/workspace/
- cp Makefile.sdk.conf RB-ev3rt-hrp2/sdk/Makefile.sdk.conf
- cd RB-ev3rt-hrp2
- cd cfg
- make
- cd ../base-workspace
- make app=loader
- cd ../sdk/workspace
script:
- make app=helloev3
- make app=test-motor-rotate
- make app=ev3cxx_tests/ev3cxx-test
- make app=ev3cxx_tests/ev3cxx-motor
- make app=ev3cxx_tests/ev3cxx-display
- make app=ev3cxx_tests/ev3cxx-file
- make app=ev3cxx_tests/ev3cxx-bluetooth
- make app=ev3cxx_tests/ev3cxx-brick
- make app=ev3cxx_tests/ev3cxx-sensor
- make app=ev3cxx_tests/ev3cxx-color_sensor_2x
# ev3cxx-cppstl temporary remove from tests
# - make app=ev3cxx-cppstl
# ev3cxx_robotutorial
- make app=ev3cxx_robotutorial/01-triangle
- make app=ev3cxx_robotutorial/02-square
- make app=ev3cxx_robotutorial/03-draw_house
- make app=ev3cxx_robotutorial/04-catch_and_return
- make app=ev3cxx_robotutorial/05-switch
- make app=ev3cxx_robotutorial/06-line_simple
- make app=ev3cxx_robotutorial/07-line_simple_plus
- make app=ev3cxx_robotutorial/08-line_advance
- ls -la