You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jdcal/.travis.yml

68 lines
1.2 KiB

language: python
cache: pip
python:
- pypy3
- pypy
env:
global:
- TOXENV=py
matrix:
include:
- python: 3.8
env: TOXENV=codestyle
- python: 3.8
env: TOXENV=docstyle
- python: 3.8
env: TOXENV=py38
- python: 3.7
env: TOXENV=py37
- python: 3.6
env: TOXENV=py36
- python: 3.5
env: TOXENV=py35
- python: 3.4
env: TOXENV=py34
- python: 2.7
env: TOXENV=py27
# Adding ppc64le jobs
- python: 3.8
arch: ppc64le
env: TOXENV=codestyle
- python: 3.8
arch: ppc64le
env: TOXENV=docstyle
- python: 3.8
arch: ppc64le
env: TOXENV=py38
- python: 3.7
arch: ppc64le
env: TOXENV=py37
- python: 3.6
arch: ppc64le
env: TOXENV=py36
- python: 3.5
arch: ppc64le
env: TOXENV=py35
- python: 3.4
arch: ppc64le
env: TOXENV=py34
exclude:
- arch: ppc64le
python: pypy
- arch: ppc64le
python: pypy3
before_install:
- |
if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]]; then
sudo chown -Rv $USER:$GROUP ~/.cache/pip/wheels
fi
install:
- pip install tox
- if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]]; then pip install pytest; pip install astropy; fi
script: tox