-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.74 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
language: python
dist: trusty
python:
- 2.7.9
- 2.7
- 3.5
- 3.6
cache:
directories:
- "$HOME/.cache/pip"
install:
- pip install tensorflow
- pip install --upgrade pytest
- pip install -e '.[tests]'
script:
- pytest --cov dltk --flake8 --cov-append
after_success:
- coveralls
jobs:
include:
- stage: docs
if: fork = false
install:
- pip install tensorflow
- pip install -e '.[docs, tests]'
script:
- eval "$(ssh-agent -s)"; touch docs/key; chmod 0600 docs/key
- openssl aes-256-cbc -K $encrypted_34762618cb56_key -iv $encrypted_34762618cb56_iv -in docs/key.enc -out docs/key -d && ssh-add docs/key
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- git remote set-url --push origin "[email protected]:$TRAVIS_REPO_SLUG"
- export ${!TRAVIS*}
- sphinx-versioning push docs/source _docs/source gh-pages .
- stage: deploy
install: skip
script: skip
deploy:
provider: pypi
user: pawni
on:
branch: master
tags: true
password:
secure: "AgYc61upOjgS+T/1F3sxBXhs5mZDcAhewy4RuMYxDowMxOGTaGEM9obObHUA12ot3jTMnLGV3Ku8QoIC7VVQGDNnLNkFDKamuPuOIjWkF4G4QTgspiqaj90JHSmUan+3i1yfX9d1VEOhEd7EwdEzqkmmjTDzNtBl16Y5gbKHBvu57DVeaKEuIIx5Fb9k5hotsiMarrDh0Fk3Q3YGoOpROlMUeuQk6jz5lpJ30v2iU+narwWKj4ZegGmI1roL3gFIIOtYlub1pKp/NRbE64127L2JVwNlDJ4bP6cOHhdXAZSqrIe9BnMDSHT3er92eHtrf3VF7QcfKTBxuP2vwAfU8TINy6O6WnM+q5D+O5+SqVUOBae7iQ5gLIE6igbKyO9t3DbqamI0qK8r9qyDFCZL+hPDWJjAR3tWU+v+H4SXy3plcJSQDCm327vq9qkqckbECunLcfqpx+HhZNUWx8f90+DOLrAO/JfZTG0JGreHa+H65xws9yUauEZW2fwH9UX23pVKRCoQ9CYmNT+/DCj5gFvdkLU2S+C6p0CYnWsPaQ8qR4HlJIuNzFX5XiKVJ05wX/oQQAMRSMGQE1vgvUJukb6+m6lZzF30hxRZMovv19BiuJ8x4RuymyFS7Zut3Fopv/cbcPUYjCMSLcDIiVFHvtg2ukWSu1I42dpOO8fvgQ0="