forked from jlpdiez/AIDEdevelopmentHardware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
130 lines (98 loc) · 3.28 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
matrix:
include:
#ESP8266 Project
- language: python
python: "2.7"
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=espHardwareReceiver/src/espHardwareReceiver.ino
install:
- pip install -U platformio
- platformio update
#External libraries
- wget https://github.com/Seeed-Studio/OLED_Display_96X96/archive/master.zip -O /tmp/OLED_Display_96X96.zip
- unzip /tmp/OLED_Display_96X96.zip -d /tmp
- wget https://github.com/knolleary/pubsubclient/archive/master.zip -O /tmp/pubsubclient.zip
- unzip /tmp/pubsubclient.zip -d /tmp
- wget https://github.com/adafruit/Adafruit_MPR121/archive/master.zip -O /tmp/Adafruit_MPR121.zip
- unzip /tmp/Adafruit_MPR121.zip -d /tmp
script:
- platformio ci --board=d1_mini_pro --lib="." --lib="/tmp/OLED_Display_96X96-master" --lib="/tmp/pubsubclient-master" --lib="/tmp/Adafruit_MPR121-master"
#ESP8266 Project
- language: python
python: "2.7"
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=espHardwarePresence/src/espHardwarePresence.ino
install:
- pip install -U platformio
- platformio update
#External libraries
- wget https://github.com/knolleary/pubsubclient/archive/master.zip -O /tmp/pubsubclient.zip
- unzip /tmp/pubsubclient.zip -d /tmp
script:
- platformio ci --board=d1_mini_pro --lib="." --lib="/tmp/pubsubclient-master"
#Circuit Playground Express Project
- language: python
python: "2.7"
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=circuitPlaygroundHardware/src/circuitPlaygroundHardware.ino
install:
- pip install -U platformio
- platformio update
#External libraries
- wget https://github.com/adafruit/Adafruit_CircuitPlayground/archive/master.zip -O /tmp/Adafruit_CircuitPlayground.zip
- unzip /tmp/Adafruit_CircuitPlayground.zip -d /tmp
script:
- platformio ci --board=adafruit_circuitplayground_m0 --lib="." --lib="/tmp/Adafruit_CircuitPlayground-master"
#JAVA Main Hardware Link
- language: java
jdk: "openjdk8"
before_install:
- git clone https://github.com/Grasia/phatsim.git
- cd phatsim
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- cd ../phatHardwareLink
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
#Init X Virtual Framebuffer
# before_script:
# - "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
# - sleep 3
script:
- mvn test -B
#JAVA MQTT Test
- language: java
jdk: "openjdk8"
before_install:
cd resources/mqttJava/
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn test -B
#JAVA MQTT Broker Test
- language: java
jdk: "openjdk8"
before_install:
cd resources/mqttJavaServer/
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn test -B
#JAVA Serial Test
- language: java
jdk: "openjdk8"
before_install:
cd resources/serialJava/
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn test -B