summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-24 14:34:13 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-24 14:34:13 -0800
commit93626a28e4120c5eccdf4b36f071b93b2210714f (patch)
tree6e999e7d75d3dd5195ac6da67ef2634a7d68893d /.travis.yml
parentededa90d07e4df3eb3fe8a52a0afbcdaf82e8df5 (diff)
parent75d7f76a6cd81d77f5ce70440c1d95c0296b15ba (diff)
Merge pull request #1886 from avagin:arm64-travis-ci
PiperOrigin-RevId: 296975376
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e69de29bb..a2a260538 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+language: minimal
+sudo: required
+dist: xenial
+cache:
+ directories:
+ - /home/travis/.cache/bazel/
+services:
+ - docker
+matrix:
+ include:
+ - os: linux
+ arch: amd64
+ env: RUNSC_PATH=./bazel-bin/runsc/linux_amd64_pure_stripped/runsc
+ - os: linux
+ arch: arm64
+ env: RUNSC_PATH=./bazel-bin/runsc/linux_arm64_pure_stripped/runsc
+script:
+ - uname -a
+ - make DOCKER_RUN_OPTIONS="" BAZEL_OPTIONS="build runsc:runsc" bazel && $RUNSC_PATH --alsologtostderr --network none --debug --TESTONLY-unsafe-nonroot=true --rootless do ls