forked from nebula-orchestrator/nebula-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 3.92 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
43
44
45
language: python
dist: xenial
python:
- '3.4'
- '3.5'
- '3.6'
- '3.7'
- '3.8'
services:
- docker
install:
- pip install NebulaPythonSDK
- pip install codecov
script:
- sudo sh test/travis_ci_scripts/travis_ci_build_script.sh
- coverage run -m unittest
deploy:
provider: pypi
user: naorlivne
password:
secure: SxcnVy5rN996xry9WQLCXPjCPS5tjX6d7f1AjRdGmILLEHfyXtD7U3XgIoQfxOddasqfplYE2J4l8XGDcnPr52/y1Zh8ZT2flm+6LcP1EFpe4qMn8+1znsny851t7eZowEpfrqdRUcxGXPewyz3DXNU8dz0rmn7cVz0blKxQOhw7bqZbq42SJGXp0y87xB7CFxJOuJ7AR5riKAwj/j7wQU3cYF20BbAXTi9P6+TrDgq/a+0YDjYm2vMyHeEsi2U/27m8haG50TibufTBszL1jrfQyP02tjASvMrXMJVrjJYGtcF1upT46b2DnkzQ+fXm4QrySvWHSmkCK1jP4KsUY+qnEb8AU4Ag+Zro7B33uQezPkvpQyBPzP3LM3bLD5a29dAnLeJ4sX3b6yj+bylHBhNU460HOnxpOaS1J280p+ZTCH8Pq5cPf51J2e8TOCCFPOhqLa/1WGG6XI1Vjvx00kPPci/MWMEKiLg3Q2eJyTTiKKJMdsIrjNMT+i1KYuBine4Xq3k9HcavsufJJ2ZBVntO6IYMW4t5hq+zkT55ESQAoLN/BzDXpJHb50kB/sDnrIq7/oL2KMxW4I4xzqN2usUUisI09hs3NOt3lcbh6dugPm6yFYAXtjmCTbO6gLWVTiKH8OHoWc43xmc6DfLegwuYdXeXYIEvXUS1nXDe6aM=
distributions: sdist bdist_wheel
skip_existing: true
on:
python: '3.7'
after_deploy:
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
- git config --local user.name "${GITHUB_USER}"
- git config --local user.email "${GITHUB_USER_EMAIL}"
- git commit -m '[skip travis] build ${TRAVIS_BUILD_NUMBER} pushed - new ${GITHUB_PROJECT} version released'
- git tag $(python setup.py --version)
- git push origin $(python setup.py --version)
- docker run -e GITHUB_USER=nebula-orchestrator -e GITHUB_PROJECT=${GITHUB_PROJECT} -e CHANGELOG_GITHUB_TOKEN=${GH_TOKEN} -v `pwd`:/output naorlivne/github-changelog-generator-dockerized
- git add CHANGELOG.md
- git commit -m '[skip travis] build ${TRAVIS_BUILD_NUMBER} pushed - new version changelog'
- git push origin HEAD:master
after_success:
- codecov
env:
global:
- secure: kSMdTnYspfGcUy9ofNaPVnEgpbsCYvDlb9zAeVDz5GaGK6oWr7XchOUj2QkFt5giVqI4kDLATPINiOBjUH5QCn9lc4gJfghlx1xb4FAfZiEu8pcoxsgRmIEpZfbnFzsG/U5QcS/eTjUxe9CZvh4HOO6fBKbjjALF3hLPwGl7FJaExPKTEu6bV92dP2KxC15d2pWC0EwRbPS5XHaORVSa67WgWonnrT2UFX7tIeDMphzQcZYrHA4cH+oKeh94GbmhwMVgOI560k+5C+4Ol2nY0Tlrm3oV7YjajXkgCAxT1KE/hcb1dhZPj5A8w+LgMjZjWyW+RysoMngkTIERT0Tw+IWIE/414nY2hu+u3lOEA7YhDjyxtl6W2IhJpl271xigVcZ10EpqEE/cMGCTzhOfbg8VNtRb8SDdcOcvTqWemcTdgdz0/Pf4K7oF+bwsIt7vUNosg10D9ha5qBJQaqQCEfkO2NhU4XIcj4xSzp5V3iGZW3L8Ti2M+JjQPxFvXp5ZKNa0n8TfyKnuQ46Y81RZpXqFkfpS33Ug6nT+i11pB8FEuHsmwy32oiqGZJ+b/fc5p6DRWEqMnjZpa0FpVLdXk368DcMF1io8bQ9+lo+eO63gNUzEFnMNua+sImC/CqBrDUyjwhTU6YYkf9EaR5me/5kqWC3mLuQKCL7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