forked from slurpcode/slurp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (23 loc) · 799 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: false
matrix:
include:
- language: python
python:
- "3.7"
install: "pip install -r requirements.txt"
script:
- pylint --version
- find . -name "*.py" | xargs pylint --disable=C0103,C0114,W0221
- flake8 --version
- flake8 --ignore=E501
- language: go
go:
- 1.13.x
before_install:
- if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi
install:
- if [[ "${GO111MODULE}" = "on" ]]; then go mod download; fi
- if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi
go_import_path: github.com/slurpcode/slurp
script:
- go test -race -covermode atomic -coverprofile=profile.cov ./...