2017-05-28 16:31:47 +02:00
|
|
|
os:
|
|
|
|
- linux
|
2017-05-28 16:44:35 +02:00
|
|
|
# - osx removed as there are problems with Travis installing Python
|
2013-02-24 18:58:10 +01:00
|
|
|
language: python
|
2015-08-07 16:56:04 +02:00
|
|
|
sudo: false
|
2013-02-24 18:58:10 +01:00
|
|
|
python:
|
2017-02-24 21:54:46 +01:00
|
|
|
# - "2.6" removed as now too old to support
|
2018-04-16 17:37:23 +02:00
|
|
|
- "2.7"
|
2015-09-23 09:22:05 +02:00
|
|
|
# - "3.2" removed because Coveralls/coverage 4.0 fails on 3.2
|
2019-08-13 22:08:06 +02:00
|
|
|
# - "3.3" removed as Travis apparently can't install it in a VM
|
2014-05-16 23:17:37 +02:00
|
|
|
- "3.4"
|
2015-12-31 15:21:58 +01:00
|
|
|
- "3.5"
|
2017-02-19 11:13:06 +01:00
|
|
|
- "3.6"
|
2019-08-13 22:16:18 +02:00
|
|
|
- "3.7"
|
2019-03-24 09:29:27 +01:00
|
|
|
- "pypy"
|
2018-06-25 12:14:07 +02:00
|
|
|
# pypy was removed temporarily as coveralls isn't always fully compatible on Travis ...
|
2017-08-19 19:40:38 +02:00
|
|
|
# RuntimeError: cryptography 1.9 is not compatible with PyPy < 5.3. Please upgrade PyPy to use this library.
|
2014-12-17 08:50:09 +01:00
|
|
|
before_install: "mkdir -p $HOME/.distlib && sudo chown -R travis:travis $HOME/.distlib || true"
|
2018-04-16 17:41:35 +02:00
|
|
|
# install:
|
|
|
|
# - pip install coveralls
|
2014-01-08 01:10:06 +01:00
|
|
|
before_script: "whoami && ls -ld $HOME/.distlib"
|
2015-01-07 17:50:19 +01:00
|
|
|
script:
|
2018-04-16 17:37:23 +02:00
|
|
|
- PYTHONHASHSEED=0 python setup.py test
|
2018-04-16 17:41:35 +02:00
|
|
|
# - if [[ $TRAVIS_PYTHON_VERSION > 2.7 ]]; then PYTHONHASHSEED=0 coverage run setup.py testd; fi
|
2015-01-07 17:50:19 +01:00
|
|
|
after_success: coveralls
|
|
|
|
|