Changeset 94 in code for trunk/.travis.yml


Ignore:
Timestamp:
Aug 11, 2019, 8:28:28 AM (6 years ago)
Author:
alex
Message:

[fix] tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r80 r94  
    11language: go
    2 
     2sudo: false
    33go:
    4   - 1.10.3
    5 
     4  - 1.12.x
    65script:
    7   # static checks
    8   - test -z "$(gofmt -l ./)"
    9   - test -z "$(go vet -v ./...)"
    10 
    116  # run tests on a standard platform
     7  - OUT="$(go get -a)"; test -z "$OUT" || (echo "$OUT" && return 1)
     8  - OUT="$(gofmt -l -d ./)"; test -z "$OUT" || (echo "$OUT" && return 1)
     9  - go vet -v ./...
    1210  - go test -v ./...
    1311
Note: See TracChangeset for help on using the changeset viewer.