minio/.travis.yml
Kanagaraj M 1c91c7b54d added eslint prettier check to travis (#5701)
- "yarn eslint" will throw the error if there are any formatting issues
- "yarn format" will format the js file based on the project's
prettier configuration.
2018-03-23 11:41:10 -07:00

35 lines
503 B
YAML

go_import_path: github.com/minio/minio
sudo: required
services:
- docker
dist: trusty
language: go
os:
- linux
env:
- ARCH=x86_64
before_install:
- nvm install stable
script:
## Run all the tests
- make
- diff -au <(gofmt -s -d cmd) <(printf "")
- diff -au <(gofmt -s -d pkg) <(printf "")
- make test GOFLAGS="-timeout 15m -race -v"
- make coverage
- node --version
- cd browser && yarn && yarn eslint && yarn test && cd ..
after_success:
- bash <(curl -s https://codecov.io/bash)
go:
- 1.9.4