diff --git a/.travis.yml b/.travis.yml index d8b05f2..98a9934 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ jobs: script: - 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" + - "./bakelite -ldflags='-s -w' 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 - shasum -a 512 bakelite-*.tar.gz | tee sha512sum.txt deploy: