Skip to content

Commit

Permalink
chore(travis): run test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
terinjokes committed Jul 15, 2017
1 parent 1b14c5b commit 916d12b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
language: go
dist: trusty
sudo: false
go:
- 1.8.x

install:
- go get github.com/golang/dep/cmd/dep
- dep ensure
script:
- go test -v $(go list ./... | grep -v /vendor/)

jobs:
include:
- stage: test
go: 1.8.x
script:
- go test -v $(go list ./... | grep -v /vendor/)
- stage: Build and Deploy
go: 1.8.x
script:
- export SOURCE_DATE_EPOCH=$(git show -s --format=%ci ${TRAVIS_TAG:-${TRAVIS_COMMIT}})
- export SOURCE_DATE_EPOCH=$(git show -s --format=%ci ${TRAVIS_TAG:-${TRAVIS_COMMIT}}^{commit})
- go build github.com/terinjokes/bakelite
- "./bakelite github.com/terinjokes/bakelite"
- for i in bakelite-*; do tar --mtime="${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner -c $i | gzip -n - > $i.tar.gz; done
Expand Down

0 comments on commit 916d12b

Please sign in to comment.