sudo: required

services:
  - docker

language: go

go:
  - 1.10
  - tip

go_import_path: kubesphere.io/kubesphere

before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y install docker-ce

before_script:
  - docker --version

script:
  - make fmt-check
