forked from IBM/eventstreams-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (45 loc) · 1.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
43
44
45
46
47
48
49
50
51
52
53
54
language: python
dist: xenial
cache: pip
notifications:
email: true
matrix:
include:
# - python: 3.6
- python: 3.7
- python: 3.8
- python: 3.9
before_install:
- npm install npm@latest -g
- sudo apt-get update
- sudo apt-get install pandoc
- pip install pypandoc
- echo -e "machine github.ibm.com\n login $GITHUB_OAUTH_TOKEN" > ~/.netrc
# - '[ "${TRAVIS_PULL_REQUEST}" == "false" ] && openssl aes-256-cbc -K $my_key -iv $my_iv -in myservice.env.enc -out myservice.env -d || true'
install:
- pip install tox-travis
script: tox
# To enable semantic-release, uncomment these sections.
# before_deploy:
# - pip install bump2version
# - nvm install 12
# - npm install @semantic-release/changelog
# - npm install @semantic-release/exec
# - npm install @semantic-release/git
# - npm install @semantic-release/github
#
# deploy:
# - provider: script
# script: npx semantic-release
# skip_cleanup: true
# on:
# python: '3.6'
# branch: main
# - provider: pypi
# user: __token__
# password: $PYPI_TOKEN
# repository: https://upload.pypi.org/legacy
# skip_cleanup: true
# on:
# python: '3.6'
# tags: true