-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (42 loc) · 3.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: python
python:
- '2.7'
before_install:
- if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip ci]" ; then echo "[skip ci]
found, exiting" && exit 0 ; fi
- pip install poetry
install:
- poetry install
script:
- poetry version minor
- poetry run python install.py --build
- git config --global user.email "builds@travis-ci.org"
- git config --global user.name "Travis CI"
- RELEASE_VERSION=`poetry version | awk '{print $2}'`
- git add pyproject.toml
- git commit -m "Release version ${RELEASE_VERSION}" -m "Travis build $TRAVIS_BUILD_NUMBER
[skip ci]"
- poetry version preminor
- git add pyproject.toml
- VERSION=`poetry version | awk '{print $2}'`
- git commit -m "Start version ${VERSION}" -m "Travis build $TRAVIS_BUILD_NUMBER [skip
ci]"
before_deploy:
- git tag -f "v${RELEASE_VERSION}"
deploy:
provider: releases
api_key:
secure: Xlu114ePToyscFkmN44m1I2lgfj8Nr8sMnY3oyQ+LfMTG9gN4tQqK8/DWUokrUbhbV2ywZTy5vFwXWmBWpn9kKTRvo0x8ytmxFz6pFZIdTkJT9GFm5p7vXjRqkkj474gilkprEty090FICPNvT4TwA+EoOY6W8WM2Z+woyzxtB7M9bXKS1LJ3T1vAcIQXt/1p85dKeTkusI21LOCUncu+ZMYK6rTAPDewcE5sw+iCji7h67pQ9EoHbVVZEecEuYgUfm6XYm3ykVA9O3RK1t+rX/LR8C+tuN+zdBC07oEURvof/hVffdNy24VtyPyuTND5wpho7/5qvqvcB8FYiZXMMBBMELL7XXuhv5F+Kk1KbSdgmtaZLq51RiYDczTwjxKc2ggP3/mUwDu6OBVkDhZgjywTQnLb1IOMLmfpj22LzD+yXmXcGwhcwotQ2Nww+0Pl7Ka6alZKZu2AI0C7nyDhOOD993LqwTEiSGYiQFYvVUQKBBafRz11p1jwu/fSMhkHLh34MS93nUb7XbdLppQf8MFEhKCwTModB4aG0kkXsYplGEJJQx3dYjXLdMDxcJGU1u5aMZssTiBParHYE59vt/uTRtJ3MSbislDsZHthFLjwVPVHQikAvRxsMn9Rbja0GN+I7GyGXZ0oFONXvGDtquJsrH1NT9wXVPu0rbmiqE=
file_glob: true
file: build/dist/*
skip_cleanup: true
on:
repo: pochemuto/alfred-help-workflow
branch: master
after_deploy:
- git push "https://pochemuto:${GITHUB_PERSONAL_TOKEN}@github.com/pochemuto/alfred-help-workflow.git"
HEAD:master
env:
global:
- secure: JRX8M3toNaOpJYVDWvNfZkSsEPOjxFTDzsgfmfn9RooxbywfOiejAHSvnbtoSrz5xVyNSF7hRYkPpVEPdPz51M3vi8tRMjr30jOhABSfp8QBB89l9xDdrJFt82QXJPv6Lh8cLpui6pu2CZdiWwJLqfLzkwhnTymiV7WcB4Fsx8EBzhKfLo46MNziFwHwBx3lgD+2FvTTLnWuhoqjtWvqL+K9ubBJIlQP5ws1m2V/uchrrT1sMQfnlXZqVupx1vTWD3/7IxECgIvxaCFBYszklOVgQ3rlErz6bmyl2mSMLro/3blv5RoeYGvgkrA5y6s+tGFGelHIRI1Of+0NXXcT+oc3ikHylL62GwFFQaoW+XpHx+p/i1/i+IwICO/eD4Nf52PjSvejJH00F3hC7lnQKafa9vstp3SN9EBAJk7aPd87ip47KSgEpga++DQDPb2ZzDCT3PpZ2b2O0/SraKMIEAZOSOFQ1d2uGbt9/EPOaAxGTGOHthxh91tTT6OCbpuWRi4JGJcg+ttmPNrNmTLBp5PRe/GDiRbldQetEGf++wz8QzgZD331dc0cr4Z9z4KFw080GVvhiQQw4NqrznrlWWDBahXwNy1BG33UcNFIbjFLJKzja+zgUswFlUW/hUpvO29UtiGOwkNYcxxs6x8TZPEt02FwezldurzB/aqJlSY=
- secure: H6F6cyVq0qNBtF2vtRC+ZR2QmChbxhziBGEVC7BeQfecmVMRvG/faVXZpJKOQ1hIkRGcXGsOpZ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