https://github.com/google/cayley
Raw File
Tip revision: ae1c8405f7db126ea8c25a5c7da1bfcb0e04c4f1 authored by Iddan Aaronsohn on 22 October 2019, 22:36:21 UTC
linkedql: Limit values in TagValue and Value
Tip revision: ae1c840
.travis.yml
language: go

addons:
  apt:
    packages:
      - snapd

go:
  - "1.13.x"
  - tip

matrix:
  allow_failures:
    - go: tip

install:
  - sudo snap install snapcraft --classic
  - go mod download

cache:
  directories:
    - $GOPATH/pkg/mod

script:
  - CGO_ENABLED=0 go build -o /tmp/cayley ./cmd/cayley
  - go run github.com/gobuffalo/packr/v2/packr2
  - git checkout -- ./packrd/dummy.go
  - go test -v ./...

after_success:
  - test -n "$TRAVIS_TAG" && echo "$SNAP_TOKEN" > /tmp/snap.login && snapcraft login --with /tmp/snap.login

deploy:
  - provider: script
    skip_cleanup: true
    script: git status && curl -sL https://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION =~ ^1\.13
back to top