rana-cli/.travis.yml

21 lines
594 B
YAML
Raw Permalink Normal View History

2015-08-11 18:52:43 +00:00
language: python
python:
2018-09-27 03:36:10 +00:00
- "2.6"
2015-08-11 21:53:35 +00:00
- "2.7"
- "3.3"
- "3.4"
2015-11-20 07:26:11 +00:00
- "3.5"
2017-02-16 20:11:12 +00:00
- "3.6"
2015-08-11 18:52:43 +00:00
# command to install dependencies
2017-02-16 20:11:12 +00:00
install:
2015-09-29 22:30:52 +00:00
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install unittest2; fi
2018-09-27 03:36:10 +00:00
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then travis_retry pip install coveralls; fi
2015-09-29 22:30:52 +00:00
- travis_retry pip install -r dev-requirements.txt
2015-08-11 21:53:35 +00:00
# use new travis-ci container-based infrastructure
2015-08-11 18:55:13 +00:00
sudo: false
2015-09-29 22:30:52 +00:00
# command to run tests
script: nosetests
2015-09-29 22:30:52 +00:00
# command to run after tests
2015-08-13 19:55:32 +00:00
after_success:
2018-09-27 03:36:10 +00:00
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then coveralls; fi