Skip to content

Commit

Permalink
Merge pull request #63 from kkung/remove_osx_upx
Browse files Browse the repository at this point in the history
Remove upx processing for osx build
  • Loading branch information
dahlia authored Aug 21, 2016
2 parents 814a9de + 1acb6fc commit a2ac817
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ before_install:
brew update
brew install python3 || brew upgrade python3 || true
fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then brew install upx; fi
- curl -o "$HOME/.local/bin/travis_long" -L https://raw.githubusercontent.com/futurice/fum2github/master/travis_long
- chmod +x "$HOME/.local/bin/travis_long"
install:
Expand All @@ -63,10 +62,8 @@ before_deploy:
- export NIGHTLY_BINARY_PATH="/tmp/nirum-build/nirum-$(uname -s | tr '[A-Z]' '[a-z]')-$(uname -m)"
- cp "$(stack path --local-bin-path)/nirum-static" "$NIGHTLY_BINARY_PATH"
- |
if [[ "$TRAVIS_OS_NAME" = "osx" ]]
if [[ "$TRAVIS_OS_NAME" = "linux" ]]
then
upx -9 "$NIGHTLY_BINARY_PATH"
else
upx-ucl -9 "$NIGHTLY_BINARY_PATH"
fi
notifications:
Expand Down

0 comments on commit a2ac817

Please sign in to comment.