coniks-sys / coniks-go

A CONIKS implementation in Golang
http://coniks.org
Other
116 stars 30 forks source link

Use dep to manage dependencies #201

Closed vqhuy closed 6 years ago

vqhuy commented 6 years ago

How to use dep (https://github.com/golang/dep)

  1. Install dep: brew install dep
  2. Download dependencies to vendor directory: dep ensure
  3. Done
vqhuy commented 6 years ago

I don't think dep is supported in Travis as it's still an open issue (https://github.com/travis-ci/travis-ci/issues/8301).

vqhuy commented 6 years ago

I added a TODO to our Travis script so we don't forget this.

masomel commented 6 years ago

Great, thanks!

corbym commented 6 years ago

You can use dep with travis right now:

sudo: false
language: go
go:
  - 1.9.x
  - master
before_install:
  - go get -u github.com/golang/dep/cmd/dep
  - dep ensure
script:
  - go test
matrix:
  allow_failures:
    - go: master
  fast_finish: true
notifications:
  email: false
.. etc..