-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
43 lines (33 loc) · 908 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
41
42
43
# sudo for docker
dist: xenial
os: linux
language: node_js
services:
- docker
addons:
apt:
packages:
- docker-ce
# Only clone the most recent commit.
git:
depth: 1
# install qemu-user before running docker build
before_install:
- sudo docker run --privileged linuxkit/binfmt:v0.6
- sudo docker run -d --privileged -p 1234:1234 --name buildkit moby/buildkit:latest --addr tcp://0.0.0.0:1234 --oci-worker-platform linux/amd64 --oci-worker-platform linux/armhf
- sudo docker cp buildkit:/usr/bin/buildctl /usr/bin/
- export BUILDKIT_HOST=tcp://0.0.0.0:1234
# Skip the install step. Don't `go get` dependencies. Only build with the code
# in vendor/
install: true
script:
- bash .travis-build.sh
#deploy:
# provider: script
# script: bash .travis-deploy.sh
# cleanup: false
# on:
# tags: true
# Don't email me the results of the test runs.
notifications:
email: false