forked from pytorch/tnt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (35 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
34
35
36
# https://travis-ci.org/pytorch/pytorch
# https://github.com/uber/pyro/blob/dev/.travis.yml
language: python
env:
global:
- PYTHONPATH=$PWD:$PYTHONPATH
install:
- pip install -U pip
- pip install --progress-bar off -e .[test]
- pip freeze
jobs:
fast_finish: true
include:
- stage: lint
python: 2.7
before_install: pip install -U pip; pip install --progress-bar off flake8 nbstripout
nbformat torch
install:
script: flake8
- stage: unit test
python: 2.7
script: "./test/run_test.sh"
- python: 3.5
script: "./test/run_test.sh"
- stage: deploy
script: echo "Deploying to PyPI..."
deploy:
provider: pypi
user: pytorch
password:
secure: C8v2M7QaeN4xsM05N9MonP+/twtFsxTd0QWsLGSFrm59jT/qur63sCxP7IAmpKYm72zd7F8sLiadyBHsRAgzHwz2zVqGSjMNon5+44aEOOZV7SVqqXudWU5Pr74Wrn/ZQ2ezMf99Tg2pcTgTpmOAtEyc+hOz91IT857tzMR6jy13jYVQN1cVGwtcOrxAGngUqlaNegp5s2Ja9+XH9dyzwpDkgTrllg6r7mCiC7Xy4hKViTmrA0RMD13X/5UFq7t+181RosZDbxjtv2elrpTeWt0CCSel+B9DQQZOQeY5XM+GevcoYwM96IxLPt8aoAFGgR3JlYeiy5NJjR+xXbsjPBwdnkcQTyMsmGYb4vrTqWfsijYc033auPSxvPqpnh4ql3wqCciiQ79Rfhxc8q/AZMayoPdxma2JhPEScfsx0AEMxwWOnLlm6NiHyPEkuZQTU7YqlBSuk9sIAiQDoPI/GISGNAZbfjHWb9DBa/8AYPNOfnE7vBAhgeZnFpenedfUD6mIKrY7tA5QIl9Pnm0Lj5iL0739yKXGHaNZbEFOLe5XIcrvA8ueR35kCgr9zdy+hLvpkc+U4cvp9ELqDDhWV64tBiy6VOP4IuQqfZ/VyXBa7SrM2ITPD6b1/sRPp9c/fUvzZ9BQZRkYW+1y0KOyDICgPf0kfnoy+UnAdwsSZPU=
skip_cleanup: true
on:
tags: true
branch: master