-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
33 lines (32 loc) · 1.45 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
# https://zh.wikipedia.org/wiki/YAML
# https://github.com/travis-ci/travis.rb#table-of-contents
# https://docs.travis-ci.com/
language: python
python: 3.5
env:
matrix:
- TOXENV=py35
- TOXENV=py34
- TOXENV=py27
- TOXENV=pypy
before_install:
- openssl aes-256-cbc -K $encrypted_825942ad460f_key -iv $encrypted_825942ad460f_iv -in tests/test_accounts.csv.enc -out tests/test_accounts.csv -d
install:
- pip install -U tox
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
script: tox -e ${TOXENV}
after_success:
- coveralls
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: erliang
password:
secure: n8kReVirzW4wdBgjfl5UN8VemDzJIrbzvtjUKtBbZaq/UCeSgXj9r/pX6AFGOY/cX5I2hE1smMtTp9NDsItReKN9JwT6B2ozSt+G75bWSfN4JpetB8xAkmkIsve7H6Oh5eQT5Y3pDORNeFBhGSbKVtFr6Ec/RxuFaxI0a3bJHfNHqnL9zVnnmxOjhhVwq/o0CbVAomDtEQugBg9B2rW+rslqphAjBx2EC5nB/tW8ogEaLLRLU1FBJHdat9qtD9x3Hv/0bGPZMEqEsUsjmWBnj3MZnEPoHbhJfqDJcV1J9Q77erycU2q1L/9dxNoc4Y/fvL6rWEFMx/iANfO2wcUPtCP+GuriM4RIR0DjrG/xnivqBYuJTiTUyrz7A/PX7J+VutxCiq+mY96g1/lKLwcXLqX4AvJuFDIxSacbLcTeq754zO/VY3VhRf962aOivsMTR2sM8LfVqWUcD38KZ07+4zoE6wenWVrufqKjYB5iFwHc1Aa9r00cqD/3Oa+s2+V281rm6XuGEvaMSR0MvgDlzS8lCyisRuRiCZZQY74I7lgYh2IOIC96TsgXH/S9KsZDo39GoZc07hBPfD3p0dUsATHGRSuCDG+DA1v6vvEaQYNUZo8SeyJ9FvBLwOsI/fpw0l9YQNjebEyx49nizdGJsmiEGsoWpQJFMkD7Bf7/TiE=
on:
tags: true
repo: er1iang/hfut
condition: "$TOXENV == py27"
notifications:
slack: erliang:dI0z5IbJovSQp2dTfQp4zyne