File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 1111
1212env :
1313 global :
14- - MAKEFLAGS='V=1 -j$(sysctl -n hw.ncpu)'
14+ - GO_BUILD_TAGS='lib9p qcow2'
15+ - HOMEBREW_NO_AUTO_UPDATE=1
16+ - MAKEFLAGS="V=1 -j$(sysctl -n hw.ncpu)"
17+ - RELEASE_GO_VERSION=''
1518
1619
1720before_install :
18- - env
21+ - uname -a
22+ - env | sort
23+ # for ocaml-qcow
24+ - brew install https://github.com/Homebrew/homebrew-core/raw/master/Formula/opam.rb
25+ - brew install https://github.com/Homebrew/homebrew-core/raw/master/Formula/libev.rb
26+ - opam --version && opam init --yes && opam install --yes uri qcow-format ocamlfind conf-libev
27+ - eval `opam config env`
1928
2029install :
2130 # for go test(make test)
@@ -24,6 +33,7 @@ install:
2433
2534before_script :
2635 - make install
36+ - make test-bindings
2737
2838script :
2939 - make test
@@ -33,12 +43,15 @@ before_deploy:
3343 # make install will change owner to root, root owned binary was can't deploy
3444 - sudo chown travis:staff bin/docker-machine-driver-xhyve
3545 # add version suffix to binary if not stable Go version
36- - if [[ "$TRAVIS_GO_VERSION" == "tip" ]]; then export RELEASE_GO_VERSION=_$TRAVIS_GO_VERSION && mv bin/docker-machine-driver-xhyve{,$RELEASE_GO_VERSION}; else export RELEASE_GO_VERSION=; fi
46+ - if [[ "$TRAVIS_GO_VERSION" == "tip" ]]; then
47+ export RELEASE_GO_VERSION=_$TRAVIS_GO_VERSION && mv bin/docker-machine-driver-xhyve{,$RELEASE_GO_VERSION};
48+ fi
3749
3850deploy :
3951 provider : releases
40- file : bin/docker-machine-driver-xhyve$RELEASE_GO_VERSION
4152 skip_cleanup : true
53+ file_glob : true
54+ file : ' bin/docker-machine-driver-xhyve*'
4255 on :
4356 repo : zchee/docker-machine-driver-xhyve
4457 tags : true
You can’t perform that action at this time.
0 commit comments