Skip to content

Commit

Permalink
feat(travis-ci): build variant "rime-with-plugins" for tagged commits…
Browse files Browse the repository at this point in the history
… [skip appveyor]
  • Loading branch information
lotem committed Jun 21, 2019
1 parent 3f03784 commit cf11c27
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,29 @@ matrix:
sudo: required
install: "./travis-install.sh"
script: make test
- os: osx
- &osx_build
os: osx
compiler: clang
install: "./travis-install.sh"
script: make xcode/test
before_deploy:
- make xcode/dist
- |
zip -r rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
zip -r ${RIME_VARIANT:-rime}-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
dist thirdparty/bin thirdparty/share \
-x '*/curl.exe'
deploy:
provider: releases
api_key:
secure: OXzu4Au7Uri/4pugRsQATYv2+QHNRfx64jRBSTdYUJ8ehdg67HHJrofxhUG2Q+lNZlm2VO51ihOsmp9c3gYtT+ohSxD3/y3z8VDw6k7a+5ihT+Svrr1fpHf30I2DupGe5bO1MFB9rltZ+kv/nERciT5n1jOO5ZxefNCRac2aylE=
file: rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
file: ${RIME_VARIANT:-rime}-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
skip_cleanup: true
name: "librime ${TRAVIS_TAG}"
body: "chore(release): ${TRAVIS_TAG} :tada:"
draft: true
on:
repo: rime/librime
tags: true
- <<: *osx_build
if: tag IS present
env: RIME_PLUGINS="${RIME_BUNDLED_PLUGINS}" RIME_VARIANT="rime-with-plugins"

0 comments on commit cf11c27

Please sign in to comment.