Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #134 from mikebrow/goversionupdate
Putting in the go versions we want to test against
  • Loading branch information
Random-Liu committed Aug 16, 2017
2 parents f2a228b + f3c12ed commit 76652ef
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .travis.yml
@@ -1,6 +1,4 @@
language: go
go:
- 1.8

sudo: required

Expand All @@ -12,29 +10,41 @@ before_install:
- sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' > /etc/apt/sources.list.d/backports.list"
- sudo apt-get update

install:
install:
- sudo apt-get install btrfs-tools
- sudo apt-get install libseccomp2/trusty-backports
- sudo apt-get install libseccomp-dev/trusty-backports
- docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
- docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter

before_script:
- export PATH=$HOME/gopath/bin:$PATH

jobs:
include:
- stage: Build
script:
- stage: Verify
script:
- make install.tools
- make .gitvalidation
- make verify
- make binaries
- stage: Test
go: 1.8.x
- script:
- make install.tools
- make .gitvalidation
- make verify
go: tip
- stage: Build and Test
script:
- make install.deps
- make test
- make binaries
- make test-cri
go: 1.8.x
- script:
- make install.deps
- make test
- make binaries
- make test-cri
go: tip

after_script:
# Abuse travis to preserve the log.
Expand Down

0 comments on commit 76652ef

Please sign in to comment.