Update .travis.yml

Cleanup sudo
This commit is contained in:
etienne-napoleone 2018-06-25 13:45:08 +07:00
parent e7379653db
commit 6a067abe00

View file

@ -1,8 +1,6 @@
sudo: required sudo: required
language: go language: go
go_import_path: github.com/ethereum/go-ethereum go_import_path: github.com/ethereum/go-ethereum
services: skip services: skip
before_install: skip before_install: skip
@ -11,7 +9,6 @@ jobs:
- stage: Build and test - stage: Build and test
os: linux os: linux
dist: trusty dist: trusty
sudo: required
go: 1.9.x go: 1.9.x
script: script:
- sudo modprobe fuse - sudo modprobe fuse
@ -21,7 +18,6 @@ jobs:
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- os: linux - os: linux
dist: trusty dist: trusty
sudo: required
go: '1.10' go: '1.10'
script: script:
- sudo modprobe fuse - sudo modprobe fuse
@ -30,6 +26,7 @@ jobs:
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- os: osx - os: osx
sudo: false
go: '1.10' go: '1.10'
script: script:
- unset -f cd - unset -f cd
@ -39,6 +36,7 @@ jobs:
- go run build/ci.go test -coverage - go run build/ci.go test -coverage
- stage: Lint - stage: Lint
os: linux os: linux
sudo: false
dist: trusty dist: trusty
go: '1.10' go: '1.10'
env: env:
@ -59,4 +57,5 @@ jobs:
on: on:
branch: travis branch: travis
- stage: Trigger rebuild of infrastructure image - stage: Trigger rebuild of infrastructure image
sudo: false
script: bash docker_rebuild.sh script: bash docker_rebuild.sh