-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 813 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 813 Bytes
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
language: python
python:
- '2.7'
install:
- pip install .
- pip install -r requirements.txt
script: pytest
after_success:
- git config --global user.email "bumpversion-after-ci@example.com"
- git config --global user.name "Bumpversion after CI"
- bumpversion --verbose minor
- chmod 600 travis_deploy_key
- eval `ssh-agent -s`
- ssh-add travis_deploy_key
- git config --global push.default simple
- git remote add deploy $(git remote -v | sed -nre 's#^origin.*https://([^/]*)/([^
]*) *.*push.*#git@\1:\2#p')
- git push deploy HEAD:master
- python setup.py sdist
- pip install twine
- twine upload --config-file .pypirc-bot dist/*
before_install:
- openssl aes-256-cbc -K $encrypted_af56ee857d72_key -iv $encrypted_af56ee857d72_iv
-in secret-files.tar.enc -out secret-files.tar -d
- tar xvf secret-files.tar