This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
69 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
arch: amd64
os: linux
dist: xenial
language: generic
branches:
only:
- main
git:
depth: 1
notifications:
email: false
jobs:
fast_finish: true
include:
- stage: Build
name: 'Documentation'
language: node_js
node_js:
- "11"
before_script:
- npm install markdownlint-cli -g
- markdownlint -V
script:
- markdownlint '**/*.md'
- stage: Build
name: 'Liberty-Way Build'
language: java
script:
- ant main
- java -Djava.library.path=. -jar build/jar/liberty-way.jar -t build ''
- stage: Build
name: 'Arduino builds'
language: c
before_script:
- wget https://github.com/arduino/arduino-cli/releases/download/0.18.3/arduino-cli_0.18.3_Linux_64bit.tar.gz
- tar -xf arduino-cli_0.18.3_Linux_64bit.tar.gz
- sudo mv arduino-cli /usr/bin/ino
script:
- mkdir $HOME/.arduino15
- ino config init
- ino core update-index
- ino core install arduino:avr
- ino core update-index --additional-urls http://dan.drown.org/stm32duino/package_STM32duino_index.json
- ino core install stm32duino:STM32F1 --additional-urls http://dan.drown.org/stm32duino/package_STM32duino_index.json
- ino core update-index --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json
- ino core install esp8266:esp8266 --additional-urls http://arduino.esp8266.com/stable/package_esp8266com_index.json
- ino core list
- ino lib install 'Adafruit NeoPixel' 'WiFi'
- cd Sonarus
- ino compile --fqbn arduino:avr:uno Sonarus.ino
- cd ../GPS-mixer
- ino compile --fqbn stm32duino:STM32F1:genericSTM32F103C GPS-mixer.ino
- cd ../Liberty-Link_WiFi-Bridge
- ino compile --fqbn esp8266:esp8266:generic Liberty-Link_WiFi-Bridge.ino