summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5ea8b20d14f36605d979d6073fe97906cd494a18 (plain)
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
26
language: php

sudo: required

php:
  - 7.0
  - 7.1
  - 7.2

go:
  - 1.8

before_install:
  - composer self-update

install:
  - composer install --no-interaction --prefer-source
  - go get -u "github.com/spiral/goridge"
  - go get -u "github.com/pkg/errors"
  - go get -u "github.com/stretchr/testify/assert"

script:
  - go test -race -v -coverprofile=coverage.txt -covermode=atomic

after_success:
  - bash <(curl -s https://codecov.io/bash)