Merge pull request #713 from restic/update-travis

Update .travis.yml
This commit is contained in:
Alexander Neumann 2016-12-30 17:21:27 +01:00
commit 8e3b81c5ec
2 changed files with 19 additions and 8 deletions

View file

@ -2,8 +2,9 @@ language: go
sudo: false sudo: false
go: go:
- 1.6.3 - 1.6.4
- 1.7.1 - 1.7.4
- tip
os: os:
- linux - linux
@ -16,16 +17,23 @@ env:
matrix: matrix:
exclude: exclude:
- os: osx - os: osx
go: 1.6.3 go: 1.6.4
- os: osx
go: tip
- os: linux - os: linux
go: 1.7.1 go: 1.7.4
include: include:
- os: linux - os: linux
go: 1.7.1 go: 1.7.4
sudo: true sudo: true
env: env:
RESTIC_TEST_FUSE=1 RESTIC_TEST_FUSE=1
allow_failures:
- go: tip
branches:
only:
- master
notifications: notifications:
irc: irc:
@ -46,5 +54,4 @@ script:
- go run run_integration_tests.go - go run run_integration_tests.go
after_success: after_success:
- GOPATH=$PWD:$PWD/vendor goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN"
- bash <(curl -s https://codecov.io/bash) -f all.cov - bash <(curl -s https://codecov.io/bash) -f all.cov

View file

@ -3,6 +3,10 @@ clone_folder: c:\restic
environment: environment:
GOPATH: c:\gopath GOPATH: c:\gopath
branches:
only:
- master
init: init:
- ps: >- - ps: >-
$app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'" $app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'"
@ -13,8 +17,8 @@ init:
install: install:
- rmdir c:\go /s /q - rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.windows-amd64.msi - appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.4.windows-amd64.msi
- msiexec /i go1.7.windows-amd64.msi /q - msiexec /i go1.7.4.windows-amd64.msi /q
- go version - go version
- go env - go env
- appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip - appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip