mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 13:38:26 +00:00
Merge pull request #210 from bergwolf/travis
travis: enable linux-ppc64le
This commit is contained in:
commit
84e389d9d1
58
.travis.yml
58
.travis.yml
@ -3,35 +3,43 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
sudo: required
|
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
os: linux
|
||||||
os:
|
language: go
|
||||||
- linux
|
go: 1.13.9
|
||||||
|
env: target_branch=$TRAVIS_BRANCH
|
||||||
language: rust
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
|
|
||||||
env:
|
|
||||||
- target_branch=$TRAVIS_BRANCH RUST_AGENT=yes
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- "ci/setup.sh"
|
- git remote set-branches --add origin "${TRAVIS_BRANCH}"
|
||||||
- "ci/install_go.sh"
|
- git fetch
|
||||||
- "ci/install_rust.sh"
|
- "ci/setup.sh"
|
||||||
- "ci/install_vc.sh"
|
|
||||||
- "ci/static-checks.sh"
|
|
||||||
|
|
||||||
# need to install rust from scratch?
|
|
||||||
# still need go to download github.com/kata-containers/tests
|
|
||||||
# which is already installed?
|
|
||||||
|
|
||||||
|
# we use install to run check agent
|
||||||
|
# so that it is easy to skip for non-amd64 platform
|
||||||
install:
|
install:
|
||||||
- cd ${TRAVIS_BUILD_DIR}/src/runtime && make
|
- "ci/install_rust.sh"
|
||||||
- cd ${TRAVIS_BUILD_DIR}/src/agent && make
|
- export PATH=$PATH:"$HOME/.cargo/bin"
|
||||||
|
- export RUST_AGENT=yes
|
||||||
|
- make -C ${TRAVIS_BUILD_DIR}/src/agent
|
||||||
|
- make -C ${TRAVIS_BUILD_DIR}/src/agent check
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- "ci/install_go.sh"
|
||||||
|
- "ci/install_vc.sh"
|
||||||
|
- make -C ${TRAVIS_BUILD_DIR}/src/runtime
|
||||||
|
- make -C ${TRAVIS_BUILD_DIR}/src/runtime test
|
||||||
|
- sudo -E PATH=$PATH GOPATH=$GOPATH make -C ${TRAVIS_BUILD_DIR}/src/runtime test
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ${TRAVIS_BUILD_DIR}/src/runtime && make test
|
- "ci/static-checks.sh"
|
||||||
- cd ${TRAVIS_BUILD_DIR}/src/runtime && sudo -E PATH=$PATH GOPATH=$GOPATH make test
|
|
||||||
- cd ${TRAVIS_BUILD_DIR}/src/agent && make check
|
jobs:
|
||||||
|
include:
|
||||||
|
- name: x86_64 test
|
||||||
|
os: linux
|
||||||
|
- name: ppc64le test
|
||||||
|
os: linux-ppc64le
|
||||||
|
install: skip
|
||||||
|
allow_failures:
|
||||||
|
- name: ppc64le test
|
||||||
|
fast_finish: true
|
||||||
|
Loading…
Reference in New Issue
Block a user