Skip to content

Commit b8c1106

Browse files
committed
Update Travis CI to Ubuntu Focal 20.04
Provides python 3.6 and cmake 3.12.x. Download Arduino 1.8.3 from the net. It was a struggle to get the Servo library installed as the exact download folder location was trial-and-error without shell access.
1 parent 158786a commit b8c1106

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.travis.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
---
22
sudo: required
3-
dist: trusty
3+
dist: focal
44

55
language:
66
- c
77

88
cache:
99
- ccache
1010

11+
before_install:
12+
- wget http://downloads.arduino.cc/arduino-1.8.3-linux64.tar.xz
13+
- tar xf arduino-1.8.3-linux64.tar.xz
14+
- sudo mv arduino-1.8.3 /usr/local/share/arduino
15+
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
16+
17+
install:
18+
- arduino --install-boards "arduino:avr:1.8.3"
19+
- arduino --install-library Servo:1.1.6
20+
- mkdir -p $TRAVIS_BUILD_DIR/libraries
21+
- mv ~/Arduino/libraries/* $TRAVIS_BUILD_DIR/libraries
22+
1123
addons:
1224
apt:
1325
packages:
14-
- gcc-avr
15-
- binutils-avr
16-
- avr-libc
17-
- arduino
18-
- python3.4
26+
- python3.6
1927

20-
script: tools/compile_test.py
28+
script:
29+
- tools/compile_test.py

0 commit comments

Comments
 (0)