https://github.com/google/cayley
Raw File
Tip revision: 10a28360d6ddae29a766eed4a160b3f22d1c5c45 authored by Iddan Aaronsohn on 28 September 2019, 09:53:19 UTC
Issue comments
Tip revision: 10a2836
.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