Skip to content

Commit

Permalink
adding travis yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Aug 16, 2016
1 parent 2fa6d70 commit 34c6692
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# https://travis-ci.org/pytorch/pytorch
language: python
python:
- 2.7.8
- 2.7
- pypy
- 3.3
- 3.4
- 3.5
- nightly
- pypy3

install:
- travis_retry pip install pyyaml
- travis_retry python setup.py install

script:
- python test/test_torch.py

# This reportedly works around an issue downloading packages from pypi on
# travis. Consider removing this after the underlying issue is fixed.
# https://github.com/travis-ci/travis-ci/issues/2389
sudo: false

matrix:
fast_finish: true

0 comments on commit 34c6692

Please sign in to comment.