forked from kata-containers/proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 773 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
#
# Copyright 2017 HyperHQ Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
os:
- linux
- osx
- linux-ppc64le
matrix:
include:
- os: linux
sudo: required
dist: trusty
language: go
go_import_path: github.com/kata-containers/proxy
go:
- "1.10.x"
env:
- target_branch=$TRAVIS_BRANCH
before_script:
- ".ci/static-checks.sh"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y -qq automake ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bash; fi
install:
- cd ${TRAVIS_BUILD_DIR} && make
script:
- cd ${TRAVIS_BUILD_DIR} && make test
after_success:
- bash <(curl -s https://codecov.io/bash)