Skip to content

Commit cf11c27

Browse files
committed
feat(travis-ci): build variant "rime-with-plugins" for tagged commits [skip appveyor]
1 parent 3f03784 commit cf11c27

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,29 @@ matrix:
77
sudo: required
88
install: "./travis-install.sh"
99
script: make test
10-
- os: osx
10+
- &osx_build
11+
os: osx
1112
compiler: clang
1213
install: "./travis-install.sh"
1314
script: make xcode/test
1415
before_deploy:
1516
- make xcode/dist
1617
- |
17-
zip -r rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
18+
zip -r ${RIME_VARIANT:-rime}-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
1819
dist thirdparty/bin thirdparty/share \
1920
-x '*/curl.exe'
2021
deploy:
2122
provider: releases
2223
api_key:
2324
secure: OXzu4Au7Uri/4pugRsQATYv2+QHNRfx64jRBSTdYUJ8ehdg67HHJrofxhUG2Q+lNZlm2VO51ihOsmp9c3gYtT+ohSxD3/y3z8VDw6k7a+5ihT+Svrr1fpHf30I2DupGe5bO1MFB9rltZ+kv/nERciT5n1jOO5ZxefNCRac2aylE=
24-
file: rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
25+
file: ${RIME_VARIANT:-rime}-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
2526
skip_cleanup: true
2627
name: "librime ${TRAVIS_TAG}"
2728
body: "chore(release): ${TRAVIS_TAG} :tada:"
2829
draft: true
2930
on:
3031
repo: rime/librime
3132
tags: true
33+
- <<: *osx_build
34+
if: tag IS present
35+
env: RIME_PLUGINS="${RIME_BUNDLED_PLUGINS}" RIME_VARIANT="rime-with-plugins"

0 commit comments

Comments
 (0)