-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
40 lines (37 loc) · 977 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
38
39
40
language: bash
dist: jammy
sudo: required
env:
- OS=debian ARCH=amd64 DIST=stretch
- OS=debian ARCH=amd64 DIST=buster
- OS=debian ARCH=amd64 DIST=bullseye
- OS=ubuntu ARCH=amd64 DIST=bionic
- OS=ubuntu ARCH=amd64 DIST=focal
- OS=ubuntu ARCH=amd64 DIST=jammy
cache:
directories:
- $HOME/cache
before_install:
- sudo apt-add-repository ppa:ev3dev/tools --yes
- sudo apt-get update
- sudo apt-get install --yes --no-install-recommends
dpkg-dev
git-buildpackage
pbuilder
debootstrap
debian-archive-keyring
ev3dev-archive-keyring
ev3dev-ppa-keyring
raspbian-archive-keyring
debhelper
qemu-user-static
pandoc
fakeroot
- mkdir -p $HOME/bin
- ln -s $TRAVIS_BUILD_DIR/src/pbuilder-ev3dev.sh $HOME/bin/pbuilder-ev3dev
- export PATH=$HOME/bin:$PATH
before_script:
- git checkout -B ev3dev-jammy
script:
- pbuilder-ev3dev base || sudo rm /home/travis/cache/base-$DIST-$ARCH.tgz
- pbuilder-ev3dev build