.travis.yml 635 Bytes
Newer Older
George Antoniadis's avatar
George Antoniadis committed
1 2 3
os:
  - linux

Kevin Atkinson's avatar
Kevin Atkinson committed
4 5
sudo: false

George Antoniadis's avatar
George Antoniadis committed
6 7
language: go

Jeromy's avatar
Jeromy committed
8 9 10
env:
    - IPFS_REUSEPORT=false

George Antoniadis's avatar
George Antoniadis committed
11
go:
hannahhoward's avatar
hannahhoward committed
12
    - 1.11.x
George Antoniadis's avatar
George Antoniadis committed
13

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
install: true

jobs:
  include:
    - stage: "build and test"
      name: "gx"
      script:
        - make deps
        - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)

    - name: "go mod"
      script:
        - export GO111MODULE=on
        - make mod_deps
        - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
George Antoniadis's avatar
George Antoniadis committed
29 30 31

cache:
    directories:
32
        - $GOPATH/pkg/mod
George Antoniadis's avatar
George Antoniadis committed
33 34 35
        - $GOPATH/src/gx

notifications:
36
  email: false