Merge pull request #65 from etienne-napoleone/travis-timeout

Update .travis.yml
This commit is contained in:
Tuna 2018-06-28 18:03:52 +07:00 committed by GitHub
commit 77966cccc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,25 +6,6 @@ before_install: skip
jobs:
include:
- stage: Build and test
os: linux
dist: trusty
go: 1.9.x
script:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- go run build/ci.go install
- go run build/ci.go test -coverage
- os: linux
dist: trusty
go: '1.10'
script:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- go run build/ci.go install
- go run build/ci.go test -coverage
- stage: Lint
os: linux
sudo: false
@ -34,6 +15,29 @@ jobs:
submodules: false
script:
- go run build/ci.go lint
- stage: Build and test
os: linux
dist: trusty
go: 1.9.x
script:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- go run build/ci.go install
- while sleep 540; do echo "[ still running ]"; done &
- go run build/ci.go test -coverage
- kill %1
- os: linux
dist: trusty
go: '1.10'
script:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
- go run build/ci.go install
- while sleep 540; do echo "[ still running ]"; done &
- go run build/ci.go test -coverage
- kill %1
- stage: Build and push Docker image
services:
- docker
@ -50,8 +54,8 @@ jobs:
script: bash docker_rebuild.sh
stages:
- name: Build and test
- name: Lint
- name: Build and test
- name: Build and push Docker image
if: type != pull_request AND branch = master
- name: Trigger rebuild of infrastructure image