-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
25 lines (24 loc) · 950 Bytes
/
.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
os:
- linux
# - osx removed as there are problems with Travis installing Python
language: python
sudo: false
python:
# - "2.6" removed as now too old to support
- "2.7"
# - "3.2" removed because Coveralls/coverage 4.0 fails on 3.2
# - "3.3" removed as Travis apparently can't install it in a VM
- "3.6"
- "3.7"
- "3.8"
- "pypy"
# pypy was removed temporarily as coveralls isn't always fully compatible on Travis ...
# RuntimeError: cryptography 1.9 is not compatible with PyPy < 5.3. Please upgrade PyPy to use this library.
before_install: "mkdir -p $HOME/.distlib && sudo chown -R travis:travis $HOME/.distlib || true"
# install:
# - pip install coveralls
before_script: "whoami && ls -ld $HOME/.distlib"
script:
- PYTHONHASHSEED=0 python setup.py test
# - if [[ $TRAVIS_PYTHON_VERSION > 2.7 ]]; then PYTHONHASHSEED=0 coverage run setup.py testd; fi
after_success: coveralls