forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (69 loc) · 4.28 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
language: go
git:
quiet: true
jobs:
include:
- stage: quick
name: go 1.9/xenial static and unit test suites
dist: xenial
go: "1.9"
before_install:
- sudo apt --quiet -o Dpkg::Progress-Fancy=false update
install:
- sudo apt --quiet -o Dpkg::Progress-Fancy=false build-dep snapd
- ./get-deps.sh
script:
- set -e
- ./run-checks --static
- ./run-checks --short-unit
- stage: quick
go: "1.10"
name: OSX build and minimal runtime sanity check
os: osx
addons:
homebrew:
packages: [squashfs]
install:
- ./get-deps.sh
# extra dependency on darwin:
- go get golang.org/x/sys/unix
before_script:
- ./mkversion.sh
- go build -o /tmp/snp ./cmd/snap
script:
- /tmp/snp download hello
- /tmp/snp version
- /tmp/snp pack tests/lib/snaps/test-snapd-tools/ /tmp
- stage: quick
name: CLA check
dist: xenial
if: type = pull_request
language: bash
addons:
apt:
packages:
python-launchpadlib
script:
- ./tests/lib/cla_check.py
- stage: integration
name: spread
dist: xenial
addons:
apt:
packages:
- xdelta3
install:
# override the default install for language:go
- true
script:
- ./run-checks --spread
env:
global:
# SPREAD_LINODE_KEY
- secure: "bzALrfNSLwM0bjceal1PU5rFErvqVhi00Sygx8jruo6htpZay3hrC2sHCKCQKPn1kvCfHidrHX1vnomg5N+B9o25GZEYSjKSGxuvdNDfCZYqPNjMbz5y7xXYfKWgyo+xtrKRM85Nqy121SfRz3KLDvrOLwwreb+pZv8DG1WraFTd7D6rK7nLnnYNUyw665XBMFVnM8ue3Zu9496Ih/TfQXhnNpsZY8xFWte4+cH7JvVCVTs8snjoGVZi3972PzinNkfBgJa24cUzxFMfiN/AwSBXJQKdVv+Fsb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