diff --git a/.travis.yml b/.travis.yml index cd1e49f..77128b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,32 @@ matrix: - env: PYTHON_VERSION=3.8 os: osx language: generic + - env: PYTHON_VERSION=3.8 + os: linux + language: generic + arch: ppc64le + - env: PYTHON_VERSION=3.7 + os: linux + arch: ppc64le + language: generic install: -- git clone --depth 1 git://github.com/astropy/ci-helpers.git -- source ci-helpers/travis/setup_conda.sh -- pip install --no-deps -e . + - if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]]; then + wget https://repo.anaconda.com/pkgs/misc/conda-execs/conda-4.7.11-linux-ppc64le.exe -O conda.exe conda-build pytest pytest-cov; + chmod +x conda.exe; + export CONDA_ALWAYS_YES=1; + ./conda.exe create -p $HOME/miniconda python=$TRAVIS_PYTHON_VERSION conda ; + export PATH="$HOME/miniconda/bin:$PATH"; + hash -r; + pip install Pillow; + pip install numpy; + pip install trollimage; + pip install aggdraw; + pip install --no-deps -e .; + else + git clone --depth 1 git://github.com/astropy/ci-helpers.git; + source ci-helpers/travis/setup_conda.sh; + pip install --no-deps -e .; + fi script: - pytest --cov=pydecorate test.py after_success: