-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
48 lines (40 loc) · 1.18 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
os: linux
dist: focal
language: shell
jobs:
include:
- env: CONFIG_DEBIAN_ARCH=armhf
- env: CONFIG_DEBIAN_ARCH=arm64
- env: CONFIG_DEBIAN_ARCH=i386
- env: CONFIG_DEBIAN_ARCH=amd64
- env: CONFIG_DEBIAN_ARCH=mipsel
# TODO: look into debian bug #952655 and figure out why the newer
# debian-ports-archive-keyring still doesnt fix the expired key
# error while multistrap is validating the unstableports repo
# - env: CONFIG_DEBIAN_ARCH=riscv64 CONFIG_DISTRO=unstableports
branches:
except:
- prerelease
install:
- sudo apt-get update
- make build-depends
- cat /proc/sys/fs/binfmt_misc/qemu-arm
- cat /proc/sys/fs/binfmt_misc/qemu-riscv64
script:
- make cpio
- make test CONFIG_DISABLE_KVM=yes
before_deploy:
- ./scripts/travis_before_deploy || export TRAVIS_TAG=prerelease
deploy:
provider: releases
token: "$GITHUB_TOKEN"
skip_cleanup: true
release_notes: "Automatic release created by travis-ci integration"
prerelease: true
overwrite: true
file_glob: true
file:
- build/debian.*.cpio
on:
all_branches: true
condition: $TRAVIS_BRANCH != prerelease