Skip to content

Commit

Permalink
feat:升级golang基础版本
Browse files Browse the repository at this point in the history
  • Loading branch information
lifei6671 committed Mar 4, 2019
1 parent 286182b commit f3254ae
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,12 @@ sudo: true
install: false

before_install:
- go get github.com/bradfitz/gomemcache/memcache
- go get github.com/garyburd/redigo/internal
- go get github.com/garyburd/redigo/redis
- go get github.com/go-sql-driver/mysql
- go get github.com/golang/freetype
- go get -u gopkg.in/russross/blackfriday.v2
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

script:
- dep ensure && GO_ENABLED=1 go build -v -x -tags "pam" && go install
- dep ensure && GO_ENABLED=1 go build -v -x -tags "pam"

before_deploy:
- sudo apt-get -qq update
- dep ensure -v && CGO_ENABLED=1 GOARCH=amd64 GOOS=linux go build -o mindoc_linux_amd64 -ldflags="-w -X github.com/lifei6671/mindoc/conf.VERSION=$TRAVIS_TAG -X 'github.com/lifei6671/mindoc/conf.BUILD_TIME=`date`' -X 'conf.GO_VERSION=`github.com/lifei6671/mindoc/go version`'"
- rm -rf simsun.ttc start.sh commands controllers models modules data routers tasks vendor docs search utils graphics .git Godeps uploads/* .gitignore .travis.yml Dockerfile Gopkg.toml LICENSE main.go README.md conf/enumerate.go conf/mail.go install.lock *.md
- cp conf/app.conf.example conf/app.conf
Expand Down

0 comments on commit f3254ae

Please sign in to comment.