https://github.com/google/cayley
Raw File
Tip revision: 2ad6d70ff1cd4e5aa717cc2821267a02a78ba2fe authored by Iddan Aaronsohn on 18 September 2019, 21:25:55 UTC
Add link to build from source
Tip revision: 2ad6d70
.travis.yml
language: go

addons:
  apt:
    packages:
      - snapd

go:
  - "1.12.x"
  - tip

matrix:
  allow_failures:
    - go: tip

install:
  - sudo snap install snapcraft --classic
  - GO111MODULE=on go mod download

cache:
  directories:
    - $GOPATH/pkg/mod

script:
  - GO111MODULE=on go test -v ./...

# TODO(dennwc): snapcraft config
#after_success:
#  - test -n "$TRAVIS_TAG" && snapcraft login --with snap.login

deploy:
  - provider: script
    skip_cleanup: true
    script: curl -sL https://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux
back to top