ipfs-cluster/.travis.yml
Kishan Sagathiya 5258a4d428 Remove map pintracker (#944)
This removes mappintracker and sets stateless tracker as the default (and only) pintracker component.

Because the stateless tracker matches the cluster state with only ongoing operations being kept on memory, and additional information provided by ipfs-pin-ls, syncing operations are not necessary. Therefore the Sync/SyncAll operations are removed cluster-wide.
2019-12-12 21:22:54 +01:00

50 lines
1.1 KiB
YAML

language: go
os:
- linux
# - osx
go:
- '1.13.x'
services:
- docker
sudo: required
cache:
directories:
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
install: true
env:
- GO111MODULE=on
jobs:
include:
- stage: "Testing stage"
name: "Tests (all modules) + Coverage"
script:
- travis_wait go test -v -timeout 15m -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: "Main Tests with raft consensus"
script:
- travis_wait go test -v -timeout 15m -failfast -consensus raft .
- name: "Golint and go vet"
script:
- go get -u golang.org/x/lint/golint
- make check
- make service
- make ctl
- name: "Docker and Compose build"
script:
- make docker
- make docker-compose
- name: "Sharness"
script:
- sudo apt-get update
- sudo apt-get install -y jq curl
- make install
- docker pull ipfs/go-ipfs
- make test_sharness && make clean_sharness