File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77sudo : false
88
9+ os :
10+ - linux
11+ - osx
12+
913cache :
1014 directories :
1115 - mason_packages
1216 # - $HOME/.ccache
1317
18+ env :
19+ - secure : " CqhZDPctJcpXGPpmIPK5usD/O+2HYawW3434oDufVS9uG/+C7aHzKzi8cuZ7n/REHqJMzy7gJfp6DiyF2QowpnN1L2W0FSJ9VOgj4JQF2Wsupo6gJkq6/CW2Fa35PhQHsv29bfyqtIq+R5SBVAieBe/Lh2P144RwRliGRopGQ68="
20+ - secure : " idk4fdU49i546Zs6Fxha14H05eRJ1G/D6NPRaie8M8o+xySnEqf+TyA9/HU8QH7cFvroSLuHJ1U7TmwnR+sXy4XBlIfHLi4u2MN+l/q014GG7T2E2xYcTauqjB4ldToRsDQwe5Dq0gZCMsHLPspWPjL9twfp+Ds7qgcFhTsct0s="
21+
1422addons :
1523 apt :
1624 sources :
@@ -20,6 +28,8 @@ addons:
2028 - clang-3.5
2129
2230before_install :
31+ - pip install twine
32+ - export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
2333 - export MASON_BUILD=true
2434 - if [[ $(uname -s) == 'Linux' ]]; then
2535 export CXX="clang++-3.5";
@@ -39,3 +49,7 @@ before_script:
3949
4050script :
4151 - python test/visual.py -q
52+ - if [[ ${COMMIT_MESSAGE} =~ "[publish]" ]]; then
53+ python setup.py bdist_wheel;
54+ twine -u $PYPI_USER -p $PYPI_PASSWORD dist/* ;
55+ fi;
You can’t perform that action at this time.
0 commit comments