Skip to content

Commit ec9dfcc

Browse files
committed
need non-zero-size package, comment off the correct brew command
1 parent 40c7c11 commit ec9dfcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ addons:
3636
before_install:
3737
- if test osx = "${TRAVIS_OS_NAME}"; then brew update; fi
3838
- if test osx = "${TRAVIS_OS_NAME}"; then brew reinstall protobuf; fi
39-
- if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then brew rm protobuf && travis_wait 30 brew install protobuf --universal --bottle; fi
40-
# - if test osx = "${TRAVIS_OS_NAME}"; then brew reinstall tmux; fi
39+
# - if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then brew rm protobuf && travis_wait 30 brew install protobuf --universal --bottle; fi
40+
- if test osx = "${TRAVIS_OS_NAME}"; then brew reinstall tmux; fi
4141
- git fetch --tags --unshallow
4242

4343
# 'make distcheck', and OS X package build on tag builds.
@@ -50,7 +50,7 @@ script:
5050
# wildcards, so we must give the package a fixed name before
5151
# uploading it.
5252
# - if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then sh -c "cd macosx && env MACOSX_DEPLOYMENT_TARGET=10.10 ./build.sh && ln ${TRAVIS_TAG}.pkg mosh.pkg && shasum -a 256 mosh.pkg"; fi
53-
- if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then sh -c "cd macosx && touch ${TRAVIS_TAG}.pkg"; fi
53+
- if test osx = "${TRAVIS_OS_NAME}" && test -n "${TRAVIS_TAG}"; then sh -c "cd macosx && echo ${TRAVIS_TAG} > ${TRAVIS_TAG}.pkg"; fi
5454

5555
# Deploy the OS X package to a GitHub release.
5656
deploy:

0 commit comments

Comments
 (0)