forked from ikipro/aos
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
51 lines (44 loc) · 1.55 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
dist: bionic
sudo: required
language: generic
git:
depth: false
before_install:
- sudo apt-get -q update
- sudo apt-get -y install apt-cacher-ng net-tools
services:
- docker
jobs:
include:
- stage: stages test
script:
- /bin/true
- stage: git clone test
script: ./help-steps/ci_git_clone_test
- stage: mmdebstrap based test with apt-cacher-ng
script: ./help-steps/ci_test3
- stage: Debian docker based package building test
env: TRAVIS_DEBIAN_GIT_BUILDPACKAGE=./help-steps/ci_package_build_test
script: wget -O- https://raw.githubusercontent.com/adrelanos/travis.debian.net/gh-pages/script.sh | sh -
- stage: Debian docker based package installation test
env: TRAVIS_DEBIAN_GIT_BUILDPACKAGE=./help-steps/ci_test
script: wget -O- https://raw.githubusercontent.com/adrelanos/travis.debian.net/gh-pages/script.sh | sh -
- stage: mmdebstrap based test without apt-cacher-ng
script: ./help-steps/ci_test2
if:
tag IS blank
env:
global:
- TRAVIS_DEBIAN_NO_BUILD=true
- TRAVIS_DEBIAN_DISTRIBUTION=bullseye
## required for firmware-nonfreedom
- TRAVIS_DEBIAN_COMPONENTS="main contrib non-free"
- TRAVIS_DEBIAN_SECURITY_UPDATES=true
## no longer global
#- TRAVIS_DEBIAN_GIT_BUILDPACKAGE=./help-steps/ci_test
- TRAVIS_DEBIAN_GIT_BUILDPACKAGE_OPTIONS=" "
#- TRAVIS_DEBIAN_AUTOPKGTEST=true
- TRAVIS_DEBIAN_NETWORK_ENABLED=true
- TRAVIS_DEBIAN_EXTRA_PACKAGES="lintian sudo"
- TRAVIS_DEBIAN_BUILD_DIR=/home/travis/build-dir
- TRAVIS_DEBIAN_TARGET_DIR=/home/travis/build-result