forked from merative/acd-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 926 Bytes
/
.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
language: python
matrix:
include:
- python: 3.6
- python: 3.7
- python: 3.8
- python: 3.9
dist: xenial
cache: pip
before_install:
- sudo apt-get update
- sudo apt-get install pandoc
- pip install pypandoc
install:
- pip install tox-travis
#
# before_script:
# - 'openssl aes-256-cbc -K $ghost_key -iv $ghost_iv -in .ghostenv.enc -out .ghostenv -d || true'
script:
- tox
before_deploy:
- nvm install 14
- npm install npm@latest -g
- npm install @semantic-release/changelog
- npm install @semantic-release/exec
- npm install @semantic-release/git
- npm install @semantic-release/github
- pip install bump2version
deploy:
- provider: script
script: npx semantic-release
skip_cleanup: true
on:
python: '3.6'
branch: master
- provider: pypi
user: __token__
password: $PYPI_TOKEN
repository: https://upload.pypi.org/legacy
skip_cleanup: true
on:
python: '3.6'
tags: true