https://github.com/google/cayley
Revision 43667e8563ece56616f3dece30e77681d7a34ff9 authored by Iddan Aaronsohn on 13 November 2019, 19:51:46 UTC, committed by Denys Smirnov on 15 December 2019, 13:54:20 UTC
1 parent 65f51a7
Raw File
Tip revision: 43667e8563ece56616f3dece30e77681d7a34ff9 authored by Iddan Aaronsohn on 13 November 2019, 19:51:46 UTC
linkedql: Fix properties of nested aliases
Tip revision: 43667e8
.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
  - go run cmd/download_ui/download_ui.go

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